summaryrefslogtreecommitdiff
path: root/jabber-feature-neg.el
diff options
context:
space:
mode:
Diffstat (limited to 'jabber-feature-neg.el')
-rw-r--r--jabber-feature-neg.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/jabber-feature-neg.el b/jabber-feature-neg.el
index 1fb8853..748a4cd 100644
--- a/jabber-feature-neg.el
+++ b/jabber-feature-neg.el
@@ -22,7 +22,7 @@
(require 'jabber-disco)
(require 'cl)
-(add-to-list 'jabber-advertised-features "http://jabber.org/protocol/feature-neg")
+(jabber-disco-advertise-feature "http://jabber.org/protocol/feature-neg")
(defun jabber-fn-parse (xml-data type)
"Parse a Feature Negotiation request, return alist representation.