diff options
author | James Booth <boothj5@gmail.com> | 2015-05-07 23:21:48 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-07 23:21:48 +0100 |
commit | d853284f92fb93067b724446f256cefcccd4b67c (patch) | |
tree | f07aa61cbb37b2b4ec7d7d2628fc0839fe9db5d4 /src/xmpp | |
parent | 56cbce2ff3d1d1de4f3cd1661a719773c0c915f0 (diff) | |
download | profani-tty-d853284f92fb93067b724446f256cefcccd4b67c.tar.gz |
Added cl_ev_presence_send
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/roster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index 9ee4ec86..5c9fa5d4 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -43,6 +43,7 @@ #include "profanity.h" #include "ui/ui.h" #include "event/server_events.h" +#include "event/client_events.h" #include "tools/autocomplete.h" #include "xmpp/connection.h" #include "xmpp/roster.h" @@ -331,7 +332,7 @@ _roster_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, v sv_ev_roster_received(); resource_presence_t conn_presence = accounts_get_login_presence(jabber_get_account_name()); - presence_send(conn_presence, NULL, 0); + cl_ev_presence_send(conn_presence, NULL, 0); return 1; } |