ui_smp_unsuccessful_receiver takes ProfChatWin

This commit is contained in:
James Booth
2015-10-26 23:40:37 +00:00
parent d11f8d5ffc
commit 0b51f4d36f
5 changed files with 14 additions and 9 deletions

View File

@@ -210,7 +210,9 @@ cb_handle_smp_event(void *opdata, OtrlSMPEvent smp_event,
ui_smp_unsuccessful_sender(chatwin);
}
} else if (nextMsg == OTRL_SMP_EXPECT4) {
ui_smp_unsuccessful_receiver(context->username);
if (chatwin) {
ui_smp_unsuccessful_receiver(chatwin);
}
}
ui_untrust(context->username);
} else {