Project

General

Profile

Disable chat between Unsubscribed users

reenath reddy
Added over 3 years ago

Hello all,

I need to disable chat feature between two unsubscribed users i.e., if A and B are two users in the same server but they are not subscribed to each other, I mean they are not in each other's roster, they should not be able to chat with each other. Is there any way to do that??


Replies (3)

Added by Daniel Wisnewski IoT 1 Cloud over 3 years ago

Yes, you can invoke simple blocking support using XEP-0191

Check out the following link:

http://docs.tigase.org/tigase-server/snapshot/Administration_Guide/html/#blockingCommand

It will give you instructions how to setup and run. As long as one user blocks the other, no communication can go between.

Added by reenath reddy over 3 years ago

Thanks for the reply, but what I want is even if User A doesn't block User B, User B shouldn't be able to send messages to User A if he is not in user A's roster.

Added by Wojciech Kapcia TigaseTeam over 3 years ago

I think that using XEP-0016: Privacy Lists and blocking communication based on subscription would better fit the requirement. However, this would have to be applied to each user.

    (1-3/3)