From 676ed1cbae17f7fff6435db58f20b7dfd8a28552 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 25 Dec 2014 01:18:45 +0000 Subject: [PATCH] Fixed non OTR compilation --- src/command/command.c | 2 +- src/command/commands.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index 74b3ad20..9b26f89d 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1839,7 +1839,7 @@ cmd_execute_default(const char * inp) ui_outgoing_chat_msg("me", chatwin->barejid, inp); } #else - message_send(inp, send_recipient->str); + message_send_chat(send_recipient->str, inp); if (prefs_get_boolean(PREF_CHLOG)) { const char *jid = jabber_get_fulljid(); Jid *jidp = jid_create(jid); diff --git a/src/command/commands.c b/src/command/commands.c index c4ad5458..bf859369 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -3006,7 +3006,7 @@ cmd_tiny(gchar **args, struct cmd_help_t help) ui_outgoing_chat_msg("me", chatwin->barejid, tiny); } #else - message_send(tiny, send_recipient->str); + message_send_chat(send_recipient->str, tiny); if (prefs_get_boolean(PREF_CHLOG)) { const char *jid = jabber_get_fulljid(); Jid *jidp = jid_create(jid);