Group Chat using PubSub

ethan dt
Added about 3 years ago

I am trying to implement Group Chat using PubSub, Are there any feature in Tigase allow PubSub node subscribers to invite other users in their rosters to subscribe PubSub node. If no, what would be best way to implement such feature?

Replies (1)


Added by Wojciech Kapcia TigaseTeam about 3 years ago

In case of open nodes you could try to leverage XEP-0249: Direct MUC Invitations - preferably with custom XMLNS and additional node name element and then create additional logic in the client to support this kind of invitations. However this is all client-side (creating particular invitations, responding to them with the subscription request to particular PubSub). Given this would utilize typical message as well as normal PubSub subscription then Tigase will handle this without problem.

Potential problems may surface with nodes to which subscribing may be limited by some rules.