Added [OTR] and (trusted/untrusted) to titlebar for OTR sessions

This commit is contained in:
James Booth
2014-01-11 18:24:44 +00:00
parent bf494b1b07
commit b5469e2e06
5 changed files with 17 additions and 0 deletions

View File

@@ -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;