Fix of PGP and potentially other encryption methods by calling correct function that would initiate them in case if someone writes.
This commit is contained in:
John Hernandez
2023-03-31 02:48:20 +02:00
parent 2093fe417f
commit 99c9f150f6
3 changed files with 10 additions and 13 deletions

View File

@@ -151,7 +151,7 @@ cb_gone_secure(void* opdata, ConnContext* context)
{
ProfChatWin* chatwin = wins_get_chat(context->username);
if (!chatwin) {
chatwin = (ProfChatWin*)wins_new_chat(context->username);
chatwin = chatwin_new(context->username);
}
chatwin_otr_secured(chatwin, otr_is_trusted(context->username));