tmp (wokkel): fixes RSM implementation to fit sat_pubsub answer when in "unrestricted" mode
This commit is contained in:
parent
b344feb420
commit
af2014df91
1 changed files with 10 additions and 4 deletions
|
|
@ -1408,6 +1408,9 @@ class PubSubService(XMPPHandler, IQHandlerMixin):
|
|||
items["node"] = request.nodeIdentifier
|
||||
|
||||
for item in result:
|
||||
if isinstance(item, tuple):
|
||||
# XXX: see sat_pubsub.pgsql_storage.LeafNode.getItemsById return value
|
||||
item = item[0]
|
||||
if item.name == 'item':
|
||||
item.uri = NS_PUBSUB
|
||||
items.addChild(item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue