# HG changeset patch # User Goffi # Date 1490299165 -3600 # Node ID e8296d7bfeb19d078e3b8e97b3488f3460688e2b # Parent a67d9617b4ef3677b4db70604b65f2b500d0be36 tmp (wokkel/pubsub): fixed affiliations (normal entity) handling diff -r a67d9617b4ef -r e8296d7bfeb1 wokkel/pubsub.py --- a/wokkel/pubsub.py Thu Mar 23 09:07:10 2017 +0100 +++ b/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):