Renamed presence_update -> presence_send

This commit is contained in:
James Booth
2015-05-07 23:12:49 +01:00
parent f69ccbf0cc
commit 56cbce2ff3
7 changed files with 17 additions and 22 deletions

View File

@@ -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);
}
}