comparison sat/plugins/plugin_misc_lists.py @ 3931:6c5f0fbc519b

plugins (forums, lists, import, XEP-0277): remove invalid `max_items` values
author Goffi <goffi@goffi.org>
date Fri, 07 Oct 2022 22:22:13 +0200
parents 0a6d4168968a
children 26c3e1bc7fb7
comparison
equal deleted inserted replaced
3930:0a6d4168968a 3931:6c5f0fbc519b
365 node + "_" + str(shortuuid.uuid()) 365 node + "_" + str(shortuuid.uuid())
366 ) 366 )
367 options = { 367 options = {
368 self._p.OPT_ACCESS_MODEL: self._p.ACCESS_OPEN, 368 self._p.OPT_ACCESS_MODEL: self._p.ACCESS_OPEN,
369 self._p.OPT_PERSIST_ITEMS: 1, 369 self._p.OPT_PERSIST_ITEMS: 1,
370 self._p.OPT_MAX_ITEMS: -1,
371 self._p.OPT_DELIVER_PAYLOADS: 1, 370 self._p.OPT_DELIVER_PAYLOADS: 1,
372 self._p.OPT_SEND_ITEM_SUBSCRIBE: 1, 371 self._p.OPT_SEND_ITEM_SUBSCRIBE: 1,
373 self._p.OPT_PUBLISH_MODEL: self._p.ACCESS_OPEN, 372 self._p.OPT_PUBLISH_MODEL: self._p.ACCESS_OPEN,
374 } 373 }
375 await self._p.createNode(client, comments_service, comments_node, options) 374 await self._p.createNode(client, comments_service, comments_node, options)