Only include lastactivity feature in disco responses when enabled

This commit is contained in:
James Booth
2016-08-18 00:29:33 +01:00
parent 4de570b1ee
commit 71dcb2e427
3 changed files with 10 additions and 2 deletions

View File

@@ -57,6 +57,7 @@
#define XMPP_FEATURE_BLOCKING "urn:xmpp:blocking"
#define XMPP_FEATURE_RECEIPTS "urn:xmpp:receipts"
#define XMPP_FEATURE_LASTACTIVITY "jabber:iq:last"
typedef enum {
JABBER_CONNECTING,