ui_smp_successful takes ProfChatWin

This commit is contained in:
James Booth
2015-10-26 23:50:56 +00:00
parent 3cea2bc4f4
commit 8bd74cefcf
5 changed files with 17 additions and 12 deletions

View File

@@ -148,12 +148,11 @@ ui_smp_aborted(ProfChatWin *chatwin)
}
void
ui_smp_successful(const char *const barejid)
ui_smp_successful(ProfChatWin *chatwin)
{
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
win_print((ProfWin*)chatwin, '!', 0, NULL, 0, 0, "", "Authentication successful.");
}
assert(chatwin != NULL);
win_print((ProfWin*)chatwin, '!', 0, NULL, 0, 0, "", "Authentication successful.");
}
void

View File

@@ -69,7 +69,7 @@ void ui_untrust(const char *const barejid);
void ui_smp_recipient_initiated(ProfChatWin *chatwin);
void ui_smp_recipient_initiated_q(ProfChatWin *chatwin, const char *question);
void ui_smp_successful(const char *const barejid);
void ui_smp_successful(ProfChatWin *chatwin);
void ui_smp_unsuccessful_sender(ProfChatWin *chatwin);
void ui_smp_unsuccessful_receiver(ProfChatWin *chatwin);
void ui_smp_aborted(ProfChatWin *chatwin);