about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 23:04:45 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 23:04:45 +0000
commit4fb0b4b0da41525a8c9d70937fcc538aae2877cb (patch)
tree599636699965a46ab83285dd5f98e7d82eb19d8e /src/command/commands.c
parent2efaa464bf6629a4f59be2834ce646d7abb8ecda (diff)
downloadprofani-tty-4fb0b4b0da41525a8c9d70937fcc538aae2877cb.tar.gz
ui_gone_secure takes ProfChatWin
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 6c5fa3ed..bab32c33 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1532,7 +1532,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
         } else {
 #ifdef HAVE_LIBOTR
             if (otr_is_secure(barejid)) {
-                ui_gone_secure(barejid, otr_is_trusted(barejid));
+                ui_gone_secure(chatwin, otr_is_trusted(barejid));
             }
 #endif
         }
@@ -4893,7 +4893,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
                 return TRUE;
             }
 
-            ui_gone_secure(barejid, otr_is_trusted(barejid));
+            ui_gone_secure(chatwin, otr_is_trusted(barejid));
             return TRUE;
 
         // no recipient, use current chat