about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-09-03 22:53:32 +0100
committerJames Booth <boothj5@gmail.com>2016-09-03 22:53:32 +0100
commitf6e9ff5b9bdedf510c1652495c6760ecf952c57e (patch)
tree3670a6e3b7d268baffdcf47b0719c8d859a65bf2
parent0fe35d5f05d14ce4516b9efc9d796ca3f6857340 (diff)
downloadprofani-tty-f6e9ff5b9bdedf510c1652495c6760ecf952c57e.tar.gz
Fix missing params
-rw-r--r--src/event/client_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c
index 31ddcad9..0f85a61a 100644
--- a/src/event/client_events.c
+++ b/src/event/client_events.c
@@ -157,7 +157,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo
 // OTR supported, PGP unsupported
 #ifdef HAVE_LIBOTR
 #ifndef HAVE_LIBGPGME
-    gboolean handled = otr_on_message_send(chatwin, plugin_msg);
+    gboolean handled = otr_on_message_send(chatwin, plugin_msg, request_receipt);
     if (!handled) {
         char *id = message_send_chat(chatwin->barejid, plugin_msg, oob_url, request_receipt);
         chat_log_msg_out(chatwin->barejid, plugin_msg);
@@ -175,7 +175,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo
 #ifndef HAVE_LIBOTR
 #ifdef HAVE_LIBGPGME
     if (chatwin->pgp_send) {
-        char *id = message_send_chat_pgp(chatwin->barejid, plugin_msg);
+        char *id = message_send_chat_pgp(chatwin->barejid, plugin_msg, request_receipt);
         chat_log_pgp_msg_out(chatwin->barejid, plugin_msg);
         chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_PGP, request_receipt);
         free(id);