mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 00:36:21 +00:00
Added [OTR] and (trusted/untrusted) to titlebar for OTR sessions
This commit is contained in:
@@ -2330,6 +2330,8 @@ cmd_otr(gchar **args, struct cmd_help_t help)
|
||||
char *recipient = ui_current_recipient();
|
||||
message_send("?OTR?", recipient);
|
||||
ui_current_set_otr(TRUE);
|
||||
// refresh to show OTR in titlebar
|
||||
ui_switch_win(ui_current_win_index());
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user