how to add a user into his roster quickly
How a user and another user automatically become friends
Added by Wojciech Kapcia over 5 years ago
If you are asking for some sort of automatic authentication (i.e. approving presence subscription) then XMPP specification doesn't support such on protocol level (on every request basis, there is a pre-approval but doesn't seem to fit the case). Most of the time it is done within clients with options such as 'automatically approve subscription requests'.