From 4fb0b4b0da41525a8c9d70937fcc538aae2877cb Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 Oct 2015 23:04:45 +0000 Subject: ui_gone_secure takes ProfChatWin --- src/command/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command') 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 -- cgit 1.4.1-2-gfad0