diff options
author | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-03-31 02:48:20 +0200 |
---|---|---|
committer | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-03-31 12:30:51 +0200 |
commit | 99c9f150f68ae7087e51f217ebd62010fcf07c16 (patch) | |
tree | f7873374335b37ecb46d6b69cc11f230deed7829 /src/otr | |
parent | 2093fe417f6a1d7f8741613a83ed81e18ae272c9 (diff) | |
download | profani-tty-99c9f150f68ae7087e51f217ebd62010fcf07c16.tar.gz |
Fix PGP
Fix of PGP and potentially other encryption methods by calling correct function that would initiate them in case if someone writes.
Diffstat (limited to 'src/otr')
-rw-r--r-- | src/otr/otr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c index 3297ce57..bbad51d5 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -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)); |