plugin XEP-0277: ensure that max-items is set to max when creating a node
This commit is contained in:
parent
182fef1134
commit
f11243bcee
1 changed files with 2 additions and 0 deletions
|
|
@ -852,6 +852,7 @@ class XEP_0277(object):
|
|||
|
||||
options = {
|
||||
self._p.OPT_ACCESS_MODEL: access,
|
||||
self._p.OPT_MAX_ITEMS: "max",
|
||||
self._p.OPT_PERSIST_ITEMS: 1,
|
||||
self._p.OPT_DELIVER_PAYLOADS: 1,
|
||||
self._p.OPT_SEND_ITEM_SUBSCRIBE: 1,
|
||||
|
|
@ -1246,6 +1247,7 @@ class XEP_0277(object):
|
|||
|
||||
_options = {
|
||||
self._p.OPT_ACCESS_MODEL: access,
|
||||
self._p.OPT_MAX_ITEMS: "max",
|
||||
self._p.OPT_PERSIST_ITEMS: 1,
|
||||
self._p.OPT_DELIVER_PAYLOADS: 1,
|
||||
self._p.OPT_SEND_ITEM_SUBSCRIBE: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue