From 5f4bcb6c8f7c5ce78a5c4a44196991e70779a077 Mon Sep 17 00:00:00 2001 From: eta Date: Sat, 1 Aug 2020 18:00:06 +0100 Subject: [PATCH] Don't unconditionally include disco info in features - This breaks the entity caps, because there's duplication. --- stuff.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stuff.lisp b/stuff.lisp index 422efcd..6e45f80 100644 --- a/stuff.lisp +++ b/stuff.lisp @@ -40,7 +40,6 @@ (with-component-data-lock (comp) `((cxml:with-element "query" (cxml:attribute "xmlns" ,+disco-info-ns+) - (disco-feature +disco-info-ns+) ,@(multiple-value-bind (to-hostname to-localpart to-resource) (parse-jid to) @@ -51,12 +50,14 @@ (cond ((equal to (component-name comp)) `((disco-identity "whatsxmpp bridge" "xmpp" "gateway") + (disco-feature ,+disco-info-ns+) (disco-feature ,+disco-items-ns+) (disco-feature ,+muc-ns+))) (user-name +whatsapp-user-disco-info-list+) (chat-subject `((disco-identity ,chat-subject "text" "conference") + (disco-feature ,+disco-info-ns+) (disco-feature ,+muc-ns+) (disco-feature ,+muc-stable-id-ns+) (disco-feature ,+unique-stanzas-ns+)