Project

General

Profile

Automatically accept Presence Subscription requests

Hamid Alimohammadi
Added over 4 years ago

Hi,

I have a question and I appreciate for any hint.

Supposing we had a trusted environment in which all users know and trust each other. How could we automatically accept/authorize Presence Subscription requests in such a way that in the roster list of each user, the other users automatically would be added as friend?

Thank you in advance for help.


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

Tigase has such mechanism. You can enable it either only for presence (subscription request will automatically be authorized on both ends) or also for roster (adding item to roster will trigger presence subscription request and actions as described for presence). Matching options are as follow: (last one enables both options)

sess-man/plugins-conf/presence/auto-authorize=true
sess-man/plugins-conf/jabber\:iq\:roster/auto-authorize=true
sess-man/plugins-conf/auto-authorize=true

    (1-1/1)