From 66424565dd8a2eaf39e16446845bf1b7a18681ea Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 23 Feb 2014 01:17:03 +0000 Subject: Show OTR status on /msg usr when usr has already started an OTR session fixes #308 --- src/command/commands.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/command') diff --git a/src/command/commands.c b/src/command/commands.c index 853fee39..d8eaa28a 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -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; } } -- cgit 1.4.1-2-gfad0