Commit 939e74d3 authored by Committed by Ian GoldbergBrowse files
Copy lastmessage to the newly created context.
This fixes a case where the first user message gets lost when OTRL_POLICY_REQUIRE_ENCRYPTION policy is set because after establishing the encryption lastmessage remains with the master context and will not be resent. [Slightly modified by Ian Goldberg]
Showing with 8 additions and 3 deletions