changeset 2356:6084aa557425

tmp (wokkel): fixed subscriptions node handling
author Goffi <goffi@goffi.org>
date Fri, 08 Sep 2017 07:58:10 +0200
parents 0fed4a1c033a
children fa43e285df1d
files src/tmp/wokkel/pubsub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/tmp/wokkel/pubsub.py	Fri Sep 08 07:58:10 2017 +0200
+++ b/src/tmp/wokkel/pubsub.py	Fri Sep 08 07:58:10 2017 +0200
@@ -332,7 +332,7 @@
         'unsubscribe': ['nodeOrEmpty', 'jid', 'subidOrNone'],
         'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'],
         'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'],
-        'subscriptions': [],
+        'subscriptions': ['nodeOrEmpty'],
         'affiliations': ['nodeOrNone'],
         'create': ['nodeOrNone', 'configureOrNone'],
         'default': ['default'],