diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-03-31 13:21:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 13:21:16 +0200 |
commit | 2e1d5d03dc1d8d817532fd71d9e6489f56118415 (patch) | |
tree | 9d3945225d6bf15faad9613fa72689612ecde776 /src/otr/otr.c | |
parent | 2093fe417f6a1d7f8741613a83ed81e18ae272c9 (diff) | |
parent | 407905cfc5a60e90ccf149929eb9517e8287ae57 (diff) | |
download | profani-tty-2e1d5d03dc1d8d817532fd71d9e6489f56118415.tar.gz |
Merge pull request #1802 from H3rnand3zzz/pgp-fix
Security fix of OTR, PGP and other
Diffstat (limited to 'src/otr/otr.c')
-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)); |