Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2692:7d4679ee7ded | 2693:f64f1158a26e |
---|---|
1361 | 1361 |
1362 def __init__(self, host): | 1362 def __init__(self, host): |
1363 disco.DiscoClientProtocol.__init__(self) | 1363 disco.DiscoClientProtocol.__init__(self) |
1364 | 1364 |
1365 def getDiscoInfo(self, requestor, target, nodeIdentifier=""): | 1365 def getDiscoInfo(self, requestor, target, nodeIdentifier=""): |
1366 return [disco.DiscoFeature(NS_DISCO_INFO)] | 1366 return [disco.DiscoFeature(NS_X_DATA), |
1367 disco.DiscoFeature(NS_DISCO_INFO)] | |
1367 | 1368 |
1368 def getDiscoItems(self, requestor, target, nodeIdentifier=""): | 1369 def getDiscoItems(self, requestor, target, nodeIdentifier=""): |
1369 return [] | 1370 return [] |
1370 | 1371 |
1371 | 1372 |