diff options
author | Magnus Henoch <magnus.henoch@gmail.com> | 2013-11-26 01:18:06 +0000 |
---|---|---|
committer | Magnus Henoch <magnus.henoch@gmail.com> | 2013-11-26 01:18:06 +0000 |
commit | cf89a44b68736638763d877aef5b067adbee2986 (patch) | |
tree | cf71eb99f84cf73bf30268aa3b74cc5ed51eeae6 /jabber-ping.el | |
parent | b0e517f27086b27ffb522549e36b5a536ac063ff (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.el | 2 |
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 |