1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Show OTR status on /msg usr when usr has already started an OTR session

fixes #308
This commit is contained in:
James Booth 2014-02-23 01:17:03 +00:00
parent 23281d6741
commit 66424565dd

View File

@ -1066,6 +1066,11 @@ cmd_msg(gchar **args, struct cmd_help_t help)
}
ui_new_chat_win(usr_jid);
#ifdef HAVE_LIBOTR
if (otr_is_secure(jid)) {
ui_gone_secure(jid, otr_is_trusted(jid));
}
#endif
return TRUE;
}
}