about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c5
1 files changed, 5 insertions, 0 deletions
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;
         }
     }