ui_smp_aborted takes ProfChatWin

This commit is contained in:
James Booth
2015-10-26 23:45:39 +00:00
parent 0b51f4d36f
commit 3cea2bc4f4
5 changed files with 13 additions and 9 deletions

View File

@@ -140,12 +140,11 @@ ui_smp_unsuccessful_receiver(ProfChatWin *chatwin)
}
void
ui_smp_aborted(const char *const barejid)
ui_smp_aborted(ProfChatWin *chatwin)
{
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
win_print((ProfWin*)chatwin, '!', 0, NULL, 0, 0, "", "SMP session aborted.");
}
assert(chatwin != NULL);
win_print((ProfWin*)chatwin, '!', 0, NULL, 0, 0, "", "SMP session aborted.");
}
void