about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-07 23:23:45 +0100
committerJames Booth <boothj5@gmail.com>2015-05-07 23:23:45 +0100
commit0db7bcbdcdbc2039033b6c18d5610372969556bc (patch)
tree68316b54bd8303798ad4113c1b04ba7ed4315ac0 /src/xmpp
parenta2281dbccf9d1973e750f7b0ad72d132ed5c4fac (diff)
parentd853284f92fb93067b724446f256cefcccd4b67c (diff)
downloadprofani-tty-0db7bcbdcdbc2039033b6c18d5610372969556bc.tar.gz
Merge branch 'master' into openpgp
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/roster.c3
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;
 }