1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

XEP-0402: Add a pubsub#max_items precondition

In order not to replace old bookmarks when pushing a new one, we need to
request a good max_items value.  This one has been picked as some random
large enough number, bikeshed welcome!

TODO: add support for unlimited values?
This commit is contained in:
Emmanuel Gil Peyrot 2019-09-27 23:06:35 +02:00
parent e825153f12
commit abd9187c80

View File

@ -172,6 +172,9 @@
<field var='pubsub#persist_items'>
<value>true</value>
</field>
<field var='pubsub#max_items'>
<value>10000</value>
</field>
<field var='pubsub#access_model'>
<value>whitelist</value>
</field>