mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 20:06:21 +00:00
ui_smp_unsuccessful_receiver takes ProfChatWin
This commit is contained in:
@@ -206,7 +206,10 @@ otrlib_handle_tlvs(OtrlUserState user_state, OtrlMessageAppOps *ops, ConnContext
|
||||
ui_smp_successful(context->username);
|
||||
ui_trust(context->username);
|
||||
} else {
|
||||
ui_smp_unsuccessful_receiver(context->username);
|
||||
ProfChatWin *chatwin = wins_get_chat(context->username);
|
||||
if (chatwin) {
|
||||
ui_smp_unsuccessful_receiver(chatwin);
|
||||
}
|
||||
ui_untrust(context->username);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user