Mercurial > libervia-backend
comparison sat/plugins/plugin_misc_forums.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 | edc79cefe968 |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
3930:0a6d4168968a | 3931:6c5f0fbc519b |
---|---|
56 self._m = self.host.plugins['XEP-0277'] | 56 self._m = self.host.plugins['XEP-0277'] |
57 self._p = self.host.plugins['XEP-0060'] | 57 self._p = self.host.plugins['XEP-0060'] |
58 self._node_options = { | 58 self._node_options = { |
59 self._p.OPT_ACCESS_MODEL: self._p.ACCESS_OPEN, | 59 self._p.OPT_ACCESS_MODEL: self._p.ACCESS_OPEN, |
60 self._p.OPT_PERSIST_ITEMS: 1, | 60 self._p.OPT_PERSIST_ITEMS: 1, |
61 self._p.OPT_MAX_ITEMS: -1, | |
62 self._p.OPT_DELIVER_PAYLOADS: 1, | 61 self._p.OPT_DELIVER_PAYLOADS: 1, |
63 self._p.OPT_SEND_ITEM_SUBSCRIBE: 1, | 62 self._p.OPT_SEND_ITEM_SUBSCRIBE: 1, |
64 self._p.OPT_PUBLISH_MODEL: self._p.ACCESS_OPEN, | 63 self._p.OPT_PUBLISH_MODEL: self._p.ACCESS_OPEN, |
65 } | 64 } |
66 host.registerNamespace('forums', NS_FORUMS) | 65 host.registerNamespace('forums', NS_FORUMS) |