[misc] advertise we support XEP 85, 50 and 30. fixes #2948
This commit is contained in:
parent
bbab7a3d94
commit
27ffd437a9
1 changed files with 4 additions and 0 deletions
|
@ -745,6 +745,10 @@ class ConnectionDisco:
|
|||
q.addChild('feature', attrs = {'var': common.xmpp.NS_XHTML_IM})
|
||||
if node in (None, client_version):
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_MUC})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_CHATSTATES})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_COMMANDS})
|
||||
q.addChild('feature', attrs = {'var': common.xmpp.NS_DISCO_INFO})
|
||||
|
||||
if q.getChildren():
|
||||
self.connection.send(iq)
|
||||
raise common.xmpp.NodeProcessed
|
||||
|
|
Loading…
Add table
Reference in a new issue