changeset 37:e8296d7bfeb1

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