about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-29 00:37:50 +0000
committerJames Booth <boothj5@gmail.com>2013-01-29 00:37:50 +0000
commit0f01f30b9c6cefcb0b6e79e4e5f59652bf50eb73 (patch)
tree0cc5cd5ebf3bafebef3d64de63bf6a8c46aef83a /src/command.c
parentb269ac97022bd15ac9a62d8b7cc98646313c4ce5 (diff)
downloadprofani-tty-0f01f30b9c6cefcb0b6e79e4e5f59652bf50eb73.tar.gz
Moved message functions to xmpp_message.c
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c
index 59f13a2b..52b909f5 100644
--- a/src/command.c
+++ b/src/command.c
@@ -900,7 +900,7 @@ cmd_execute_default(const char * const inp)
             win_current_show("You are not currently connected.");
         } else {
             char *recipient = win_current_get_recipient();
-            jabber_send_groupchat(inp, recipient);
+            message_send_groupchat(inp, recipient);
             free(recipient);
         }
     } else if (win_current_is_chat() || win_current_is_private()) {
@@ -1898,7 +1898,7 @@ _cmd_tiny(gchar **args, struct cmd_help_t help)
                 free(recipient);
             } else { // groupchat
                 char *recipient = win_current_get_recipient();
-                jabber_send_groupchat(tiny, recipient);
+                message_send_groupchat(tiny, recipient);
                 free(recipient);
             }
             free(tiny);
@@ -1936,7 +1936,7 @@ _cmd_close(gchar **args, struct cmd_help_t help)
                 // send <gone/> chat state before closing
                 if (chat_session_get_recipient_supports(recipient)) {
                     chat_session_set_gone(recipient);
-                    jabber_send_gone(recipient);
+                    message_send_gone(recipient);
                     chat_session_end(recipient);
                 }
             }