Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0277.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 | 37a1193d90db |
children | e345d93fb6e5 |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0277.py Thu Oct 06 17:50:54 2022 +0200 +++ b/sat/plugins/plugin_xep_0277.py Fri Oct 07 22:22:13 2022 +0200 @@ -853,7 +853,6 @@ options = { self._p.OPT_ACCESS_MODEL: access, self._p.OPT_PERSIST_ITEMS: 1, - self._p.OPT_MAX_ITEMS: -1, self._p.OPT_DELIVER_PAYLOADS: 1, self._p.OPT_SEND_ITEM_SUBSCRIBE: 1, # FIXME: would it make sense to restrict publish model to subscribers? @@ -1227,7 +1226,6 @@ _options = { self._p.OPT_ACCESS_MODEL: access, self._p.OPT_PERSIST_ITEMS: 1, - self._p.OPT_MAX_ITEMS: -1, self._p.OPT_DELIVER_PAYLOADS: 1, self._p.OPT_SEND_ITEM_SUBSCRIBE: 1, }