diff options
author | James Booth <boothj5@gmail.com> | 2017-01-15 23:59:31 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2017-01-15 23:59:31 +0000 |
commit | 2b7894ccff4c12003572af965b7f098669f0a7c3 (patch) | |
tree | 3879f91a2d3dabca3d48e49370fe5324478388f0 /src/xmpp/capabilities.c | |
parent | b64646979ea50a13d0c7ec0b1a46969f661569a8 (diff) | |
download | profani-tty-2b7894ccff4c12003572af965b7f098669f0a7c3.tar.gz |
Remove status from cl_ev_presence_send
fixes #888
Diffstat (limited to 'src/xmpp/capabilities.c')
-rw-r--r-- | src/xmpp/capabilities.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index e09270cb..7571ad0c 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -125,7 +125,7 @@ caps_add_feature(char *feature) // resend presence to update server's disco info data for this client if (connection_get_status() == JABBER_CONNECTED) { resource_presence_t last_presence = accounts_get_last_presence(session_get_account_name()); - cl_ev_presence_send(last_presence, connection_get_presence_msg(), 0); + cl_ev_presence_send(last_presence, 0); } } @@ -143,7 +143,7 @@ caps_remove_feature(char *feature) // resend presence to update server's disco info data for this client if (connection_get_status() == JABBER_CONNECTED) { resource_presence_t last_presence = accounts_get_last_presence(session_get_account_name()); - cl_ev_presence_send(last_presence, connection_get_presence_msg(), 0); + cl_ev_presence_send(last_presence, 0); } } |