How to create groups like whatsapp with ejabberd?

1.1k views Asked by At

I need to ask few questions:

a. How can I create whatsapp like groups?

b. How can I implement group chat similar to whatsapp?

Right now I am creating rooms and invite users into them. Users automatically removed from room,when users go offiline. But in whatsapp group chat users still remain in group after logout or not connected and when users come online, they get all offline messages.

Please suggest me how can I create group chat similar to whatsapp group chat where group owner can add users, ban, UN-ban and get off-line message as well.

Please help me giving few tips and links to study.

Regards,

Sandeep Kumar Thakur

1

There are 1 answers

4
Mickaël Rémond On BEST ANSWER

You should use ejabberd Muc/Sub feature to build groups like Whatsapp: https://docs.ejabberd.im/developer/xmpp-clients-bots/proposed-extensions/muc-sub/

It has been designed with that use case in mind.