summaryrefslogtreecommitdiff
path: root/jabber-si-server.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-si-server.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-si-server.el')
-rw-r--r--jabber-si-server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/jabber-si-server.el b/jabber-si-server.el
index 286ad29..70b99ad 100644
--- a/jabber-si-server.el
+++ b/jabber-si-server.el
@@ -25,7 +25,7 @@
(require 'jabber-si-common)
-(add-to-list 'jabber-advertised-features "http://jabber.org/protocol/si")
+(jabber-disco-advertise-feature "http://jabber.org/protocol/si")
;; Now, stream methods push data to profiles. It could be the other
;; way around; not sure which is better.