Hi,
On Wed, Mar 29, 2023 at 05:11:51PM -0700,
michael.ip...@gmail.com wrote:
>We are using Counterpath Bria for XMPP and presence in a Unified
>Communications product we are developing and having issues with updating
>the shared roster.
Always nice to hear of XMPP and Prosody being used in places.
>After updating the sharedgroups file and reloading the groups module, you
>have to log out of ALL devices e.g. have a point where there are no devices
>logged in, before the new roster is pulled in. Im assuming this state
>removes the cached roster and the new one is created in memory on login.
>
>I would assume this is not normal behaviour so just wondering what I am
>doing wrong?
I'm afraid this is normal behavior for mod_groups, it doesn't apply
changes unless you log out and in again. I agree it's not desired
behavior, but I personally have no plans or desire to work or this as I
do not use it myself.
While it does not have any documentation yet, you could look into
https://modules.prosody.im/mod_groups_internal.html which is used for
group ("circle") management in Snikket. There it is controlled via
https://modules.prosody.im/mod_http_admin_api.html which lacks
documentation as well, but I just set up this based on the OpenAPI
schema:
https://modules.prosody.im/demo/mod_http_admin_api.html
--
Hope this helps,
Kim "Zash" Alvefur