about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/command.c2
-rw-r--r--src/command/commands.c2
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);