ui_smp_successful takes ProfChatWin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user