aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-07 23:16:22 +0100
committerJames Booth <boothj5@gmail.com>2015-05-07 23:16:22 +0100
commita2281dbccf9d1973e750f7b0ad72d132ed5c4fac (patch)
treec5b25a224156b7c014af502281222b9d1a19495f /src/command
parentbeeadd6ae3dc1635b0d7642cb699c89e2a4f537e (diff)
parent56cbce2ff3d1d1de4f3cd1661a719773c0c915f0 (diff)
downloadprofani-tty-a2281dbccf9d1973e750f7b0ad72d132ed5c4fac.tar.gz
Merge branch 'master' into openpgp
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 f446ad59..dfc55c15 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -514,7 +514,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);
@@ -3819,7 +3819,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);
@@ -4396,7 +4396,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);
}
}