You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prosody IM Users
Hey there,
I got the responsibility for developing new features in an ~ 500
people esports community.
One of my first steps will be to setup a prosody server with external
authentication using the members database of the community.
But because the community already has a kind of friendlist I'd like to
do here a deeper integration into prosody.
Is there any kind of API to modifiy subscriptions of users on the same
domain without authenticating as this user before?
What I'd like to do is:
Automatically create subscription ('both') in XMPP after connecting as
friends on homepage
1-time-a-day sync back friendlist of XMPP to homepage (friends from
community domain only)
Also removal of subscriptions in both directions
The only way I found to manage this is to edit the roster files
directly and to restart the daemon afterwards.
Do you have a better idea how I could manage this?