add many supported features to disco#info reply. fixes #3872
This commit is contained in:
parent
a095a3249e
commit
041969309d
|
@ -757,8 +757,25 @@ class ConnectionDisco:
|
|||
q.addChild('feature', attrs = {'var': common.xmpp.NS_SI})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_FILE})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC_USER})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC_ADMIN})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC_OWNER})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC + '#roomconfig'})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_COMMANDS})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_DISCO_INFO})
|
||||
q.addChild('feature', attrs = {'var': 'ipv6'})
|
||||
q.addChild('feature', attrs = {'var': 'jabber:iq:gateway'})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_LAST})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_PRIVACY})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_PRIVATE})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_REGISTER})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_VERSION})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_DATA})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_ENCRYPTED})
|
||||
q.addChild('feature', attrs = {'var': 'msglog'})
|
||||
q.addChild('feature', attrs = {'var': 'sslc2s'})
|
||||
q.addChild('feature', attrs = {'var': 'stringprep'})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_PING})
|
||||
if self.pep_supported:
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY + '+notify'})
|
||||
|
|
|
@ -71,6 +71,7 @@ NS_MUC_UNIQUE =NS_MUC+'#unique'
|
|||
NS_NICK ='http://jabber.org/protocol/nick' # XEP-0172
|
||||
NS_OFFLINE ='http://www.jabber.org/jeps/jep-0030.html' # XEP-0013
|
||||
NS_PHYSLOC ='http://jabber.org/protocol/physloc' # XEP-0112
|
||||
NS_PING ='urn:xmpp:ping' # SEP-0199
|
||||
NS_PRESENCE ='presence' # Jabberd2
|
||||
NS_PRIVACY ='jabber:iq:privacy'
|
||||
NS_PRIVATE ='jabber:iq:private'
|
||||
|
@ -103,7 +104,6 @@ NS_GTALKSETTING ='google:setting'
|
|||
NS_VCARD_UPDATE =NS_VCARD+':x:update'
|
||||
NS_VERSION ='jabber:iq:version'
|
||||
NS_VIEWING ='http://jabber.org/protocol/viewing' # XEP--197
|
||||
NS_PING ='urn:xmpp:ping' # XEP-0199
|
||||
NS_WAITINGLIST ='http://jabber.org/protocol/waitinglist' # XEP-0130
|
||||
NS_XHTML_IM ='http://jabber.org/protocol/xhtml-im' # XEP-0071
|
||||
NS_XHTML = 'http://www.w3.org/1999/xhtml' # "
|
||||
|
|
Loading…
Reference in New Issue