From bc08258fe768d660de7a059ce6becbd92f82ec6c Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 23 Mar 2017 20:59:25 +0100 Subject: [PATCH] tmp (wokkel/pubsub): fixed affiliations (normal entity) handling --- src/tmp/wokkel/pubsub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tmp/wokkel/pubsub.py b/src/tmp/wokkel/pubsub.py index 9d6ece4d..22345123 100755 --- a/src/tmp/wokkel/pubsub.py +++ b/src/tmp/wokkel/pubsub.py @@ -334,7 +334,7 @@ class PubSubRequest(generic.Stanza): 'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'], 'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'], 'subscriptions': [], - 'affiliations': [], + 'affiliations': ['nodeOrNone'], 'create': ['nodeOrNone', 'configureOrNone'], 'default': ['default'], 'configureGet': ['nodeOrEmpty'], @@ -1637,7 +1637,7 @@ class PubSubResource(object): def affiliationsGet(self, request): - return defer.fail(Unsupported('modify-affiliations')) + return defer.fail(Unsupported('retrieve-affiliations')) def affiliationsSet(self, request):