# HG changeset patch # User Goffi # Date 1490299165 -3600 # Node ID 7f91b894bfdf737220e49a0e3a46ed89667052e5 # Parent 40dd9eb2692c09769421680c65edbb0ce357b3e1 tmp (wokkel/pubsub): fixed affiliations (normal entity) handling diff -r 40dd9eb2692c -r 7f91b894bfdf src/tmp/wokkel/pubsub.py --- a/src/tmp/wokkel/pubsub.py Thu Mar 23 09:11:25 2017 +0100 +++ b/src/tmp/wokkel/pubsub.py Thu Mar 23 20:59:25 2017 +0100 @@ -334,7 +334,7 @@ 'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'], 'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'], 'subscriptions': [], - 'affiliations': [], + 'affiliations': ['nodeOrNone'], 'create': ['nodeOrNone', 'configureOrNone'], 'default': ['default'], 'configureGet': ['nodeOrEmpty'], @@ -1637,7 +1637,7 @@ def affiliationsGet(self, request): - return defer.fail(Unsupported('modify-affiliations')) + return defer.fail(Unsupported('retrieve-affiliations')) def affiliationsSet(self, request):