diff options
author | James Booth <boothj5@gmail.com> | 2013-01-29 00:37:50 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-29 00:37:50 +0000 |
commit | 0f01f30b9c6cefcb0b6e79e4e5f59652bf50eb73 (patch) | |
tree | 0cc5cd5ebf3bafebef3d64de63bf6a8c46aef83a /src/command.c | |
parent | b269ac97022bd15ac9a62d8b7cc98646313c4ce5 (diff) | |
download | profani-tty-0f01f30b9c6cefcb0b6e79e4e5f59652bf50eb73.tar.gz |
Moved message functions to xmpp_message.c
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 6 |
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); } } |