summaryrefslogtreecommitdiff
path: root/jabber-ping.el
diff options
context:
space:
mode:
authorMagnus Henoch <magnus.henoch@gmail.com>2013-11-26 01:18:06 +0000
committerMagnus Henoch <magnus.henoch@gmail.com>2013-11-26 01:18:06 +0000
commitcf89a44b68736638763d877aef5b067adbee2986 (patch)
treecf71eb99f84cf73bf30268aa3b74cc5ed51eeae6 /jabber-ping.el
parentb0e517f27086b27ffb522549e36b5a536ac063ff (diff)
Send Entity Capabilities in outgoing presence stanzas
Also changed the disco info feature "plugin" system - now a module that wants to advertise a feature needs to call the function `jabber-disco-advertise-feature'. This ensures that caps are recalculated as needed.
Diffstat (limited to 'jabber-ping.el')
-rw-r--r--jabber-ping.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/jabber-ping.el b/jabber-ping.el
index e71267e..e9056ab 100644
--- a/jabber-ping.el
+++ b/jabber-ping.el
@@ -49,7 +49,7 @@
(format "%s is alive" to)))
(add-to-list 'jabber-iq-get-xmlns-alist (cons "urn:xmpp:ping" 'jabber-pong))
-(add-to-list 'jabber-advertised-features "urn:xmpp:ping")
+(jabber-disco-advertise-feature "urn:xmpp:ping")
(defun jabber-pong (jc xml-data)
"Return pong as defined in XEP-0199. Sender and Id are