summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2020-07-05 22:28:44 +0300
committerdefanor <defanor@uberspace.net>2020-07-05 22:28:44 +0300
commitfc3ac84c2fa091d12c2034f06b227618e76c1226 (patch)
treeb4b316d5ba8ed3b1aa882caef82029b795c59157 /src/rexmpp.h
parentc09bb4e4434667debc0e28d25b5a358ef4ffb498 (diff)
Add presence tracking
Presence of roster contacts is tracked by rexmpp now (optionally, by default), and the weechat plugin marks online contacts with the "+" prefix.
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h
index 6157f86..7e2376f 100644
--- a/src/rexmpp.h
+++ b/src/rexmpp.h
@@ -238,6 +238,7 @@ struct rexmpp
int enable_service_discovery;
int manage_roster;
const char *roster_cache_file;
+ int track_roster_presence;
/* Resource limits. */
uint32_t stanza_queue_size;
@@ -256,6 +257,7 @@ struct rexmpp
xmlNodePtr stream_features;
xmlNodePtr roster_items;
char *roster_ver;
+ xmlNodePtr roster_presence;
/* Other dynamic data. */
xmlNodePtr disco_info;