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:
parent
23281d6741
commit
66424565dd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user