#1643 OMEMO bundle option max_items=max is not supported
Reporter
Maximilian Wuttke
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Type-Defect
Status-Blocked
Compliance
Maximilian Wuttke
on
According to <https://xmpp.org/extensions/xep-0384.html#impl>:
> The pubsub service MUST support 'max' as a value for the 'pubsub#persist_items' node configuration.
However, setting `pubsub#max_items=max` in the bundle publishing stanza (cf. Example 3 in XEP 0384) yields the following error:
> error: max_items: not a number
Zash
on
Thanks for the report.
We don't want to implement it like that, since we like the type validation we added to our data-form parser.
After some debate in the XSF it was decided to do this another way, and we are currently waiting for https://github.com/xsf/xeps/pull/988 to assign a name for it.
There's already code written and will be merged after that.
According to <https://xmpp.org/extensions/xep-0384.html#impl>: > The pubsub service MUST support 'max' as a value for the 'pubsub#persist_items' node configuration. However, setting `pubsub#max_items=max` in the bundle publishing stanza (cf. Example 3 in XEP 0384) yields the following error: > error: max_items: not a number
Thanks for the report. We don't want to implement it like that, since we like the type validation we added to our data-form parser. After some debate in the XSF it was decided to do this another way, and we are currently waiting for https://github.com/xsf/xeps/pull/988 to assign a name for it. There's already code written and will be merged after that.
Changes