about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-07 23:12:49 +0100
committerJames Booth <boothj5@gmail.com>2015-05-07 23:12:49 +0100
commit56cbce2ff3d1d1de4f3cd1661a719773c0c915f0 (patch)
treeae2fd1d5e16a15a338fa6aa005591c1423a342af /src/command
parentf69ccbf0cc94c44ee806d745ddc57adbaa007a20 (diff)
downloadprofani-tty-56cbce2ff3d1d1de4f3cd1661a719773c0c915f0.tar.gz
Renamed presence_update -> presence_send
Diffstat (limited to 'src/command')
-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 3d7dcc67..4608b7de 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_update(last_presence, message, 0);
+                                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_update(last_presence, jabber_get_presence_message(), 0);
+        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_update(resource_presence, msg, 0);
+        presence_send(resource_presence, msg, 0);
         ui_update_presence(resource_presence, msg, show);
     }
 }