changeset 2202:7f91b894bfdf

tmp (wokkel/pubsub): fixed affiliations (normal entity) handling
author Goffi <goffi@goffi.org>
date Thu, 23 Mar 2017 20:59:25 +0100
parents 40dd9eb2692c
children 427391c706eb
files src/tmp/wokkel/pubsub.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):