tmp (wokkel/pubsub): fixed affiliations (normal entity) handling
This commit is contained in:
parent
425d342183
commit
bc08258fe7
1 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ class PubSubRequest(generic.Stanza):
|
|||
'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'],
|
||||
'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'],
|
||||
'subscriptions': [],
|
||||
'affiliations': [],
|
||||
'affiliations': ['nodeOrNone'],
|
||||
'create': ['nodeOrNone', 'configureOrNone'],
|
||||
'default': ['default'],
|
||||
'configureGet': ['nodeOrEmpty'],
|
||||
|
|
@ -1637,7 +1637,7 @@ class PubSubResource(object):
|
|||
|
||||
|
||||
def affiliationsGet(self, request):
|
||||
return defer.fail(Unsupported('modify-affiliations'))
|
||||
return defer.fail(Unsupported('retrieve-affiliations'))
|
||||
|
||||
|
||||
def affiliationsSet(self, request):
|
||||
|
|
|
|||
Loading…
Reference in a new issue