http://jabber.org/protocol/pubsub#config-node-max not checked
#248
Closed
opened 3 months ago by .wojtek
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
It seems that moxxy uses "max" value for
pubsub#max_items
even though pubsub doesn't advertisehttp://jabber.org/protocol/pubsub#config-node-max
feature.That is weird as I do check for the disco feature here. If you know what JID is being attempted to publish against, could you maybe catch the disco#info response from that entity so I can try to write a test to reproduce this behaviour?
OK. It may be slightly more convoluted. It happened yesterday when I tested Moxxy 0.4.1 with my tigase.im account - it tried to publish OMEMO keys and triggered an exception on the server. Now - I checked that the feaures are not available for PEP on that account but... there is a slight chance that the node could have been created previously but different app (but this is quite unlikely because I only use BeagleIM, in which I don't use OMEMO nor does it support "urn:xmpp:omemo:2:bundles" and I ran Psi+, in which I don't have OMEMO enabled).
I checked the database and the node was created yesterday and the timestamp seems to coincide with the moxxy run (I had opened Psi+ at the same time and connected to the account but had done so in the past as well and I don't have OMEMO enabled in Psi).
I do see that you check the feature, which makes it all the more so odd:
Thank you for the disco info! It turns out, while I was checking for support, I accidentally used the original publish options instead of the ones that work around missing support for 'max'.
The issue is now fixed in moxxmpp (moxxy/moxxmpp#33), and I only have to update the version used by Moxxy.
EDIT: I'll leave this issue open until I updated the used version of moxxmpp.