diff sat/core/xmpp.py @ 2693:f64f1158a26e

core (xmpp): added NS_X_DATA to disco features
author Goffi <goffi@goffi.org>
date Sun, 18 Nov 2018 15:49:59 +0100
parents 1ecceac3df96
children a8ec00731ce7
line wrap: on
line diff
--- a/sat/core/xmpp.py	Sun Nov 18 15:49:55 2018 +0100
+++ b/sat/core/xmpp.py	Sun Nov 18 15:49:59 2018 +0100
@@ -1363,7 +1363,8 @@
         disco.DiscoClientProtocol.__init__(self)
 
     def getDiscoInfo(self, requestor, target, nodeIdentifier=""):
-        return [disco.DiscoFeature(NS_DISCO_INFO)]
+        return [disco.DiscoFeature(NS_X_DATA),
+                disco.DiscoFeature(NS_DISCO_INFO)]
 
     def getDiscoItems(self, requestor, target, nodeIdentifier=""):
         return []