How to grant PubSub / XEP-0356 privileges to an External Component (Slidge)?

Hello,

I have a fully working Openfire server (Version 5.0.0.0) and have successfully connected the Slidge WhatsApp bridge (v0.2.12) as an external component. Basic messaging is working correctly.

However, the Slidge bridge is unable to get the permissions it needs for advanced features like Pub/Sub (for avatars) and PEP/Bookmarks (XEP-0356). The Slidge logs consistently show these warnings upon user login:

WARNING:slidge.core.gateway:IQ privileges not granted for pubsub namespace... UserWarning:IQ privileges (XEP0356) are not set, we cannot fetch the user bookmarks...

I am trying to find the correct system property to grant these permissions to my component, whatsapp.surfzone.nz. We have tried the following system properties in the Admin Console, but none have removed the warnings:

  • plugin.component.service.permission.whatsapp.surfzone.nz with value all
  • plugin.admin.authorizedJIDs with value luke@surfzone.nz,whatsapp.surfzone.nz
  • xmpp.component.admins with value whatsapp.surfzone.nz

Could you please advise on the correct system property or method in a modern Openfire installation to grant an external component the necessary privileges for Pub/Sub and PEP/XEP-0356 actions on behalf of a user?

Thank you.

I’m afraid Openfire’s most recent release (5.0.0) simply does not support this feature.

I have raised a new ticket (OF-3097) in our bugtracker to have this feature added.