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-27 00:19:22 +0000
committerJames Booth <boothj5@gmail.com>2015-10-27 00:19:22 +0000
commit124aaa9809ee13b382f47f6f3e175bd7fdb98dc5 (patch)
tree8346aecaa20402dc9ac3c84b5fee8573d5341741 /src/command/commands.c
parent8bd74cefcf73772a52b40c919a1e70da90be8a33 (diff)
downloadprofani-tty-124aaa9809ee13b382f47f6f3e175bd7fdb98dc5.tar.gz
remaining otr functions take 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 e3dc5613..fbbb0a8a 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -4956,7 +4956,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
             return TRUE;
         }
 
-        ui_trust(chatwin->barejid);
+        ui_trust(chatwin);
         otr_trust(chatwin->barejid);
         return TRUE;
 
@@ -4973,7 +4973,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
             return TRUE;
         }
 
-        ui_untrust(chatwin->barejid);
+        ui_untrust(chatwin);
         otr_untrust(chatwin->barejid);
         return TRUE;