about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-07 23:21:48 +0100
committerJames Booth <boothj5@gmail.com>2015-05-07 23:21:48 +0100
commitd853284f92fb93067b724446f256cefcccd4b67c (patch)
treef07aa61cbb37b2b4ec7d7d2628fc0839fe9db5d4 /src/command/commands.c
parent56cbce2ff3d1d1de4f3cd1661a719773c0c915f0 (diff)
downloadprofani-tty-d853284f92fb93067b724446f256cefcccd4b67c.tar.gz
Added cl_ev_presence_send
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 4608b7de..0c341880 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -507,7 +507,7 @@ cmd_account(gchar **args, struct cmd_help_t help)
 
                             if (presence_type == last_presence) {
                                 char *message = jabber_get_presence_message();
-                                presence_send(last_presence, message, 0);
+                                cl_ev_presence_send(last_presence, message, 0);
                             }
                         }
                         cons_show("Updated %s priority for account %s: %s", property, account_name, value);
@@ -3808,7 +3808,7 @@ cmd_priority(gchar **args, struct cmd_help_t help)
     if (res) {
         accounts_set_priority_all(jabber_get_account_name(), intval);
         resource_presence_t last_presence = accounts_get_last_presence(jabber_get_account_name());
-        presence_send(last_presence, jabber_get_presence_message(), 0);
+        cl_ev_presence_send(last_presence, jabber_get_presence_message(), 0);
         cons_show("Priority set to %d.", intval);
     } else {
         cons_show(err_msg);
@@ -4330,7 +4330,7 @@ _update_presence(const resource_presence_t resource_presence,
     if (conn_status != JABBER_CONNECTED) {
         cons_show("You are not currently connected.");
     } else {
-        presence_send(resource_presence, msg, 0);
+        cl_ev_presence_send(resource_presence, msg, 0);
         ui_update_presence(resource_presence, msg, show);
     }
 }