changeset 42:9e784ca20e23

tmp (wokkel): fixed subscriptions node handling
author Goffi <goffi@goffi.org>
date Fri, 08 Sep 2017 07:58:10 +0200
parents f9d14d3d0835
children 78dd28b06fb0
files wokkel/pubsub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wokkel/pubsub.py	Sun Aug 27 20:14:59 2017 +0200
+++ b/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'],