diff options
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)); |