Enabling group chat
In this recipe, we will learn how to set up and use the group chat feature of XMPP. Group chat is also called Multi User Chat (MUC). Ejabberd supports MUC with the help of an extension and is enabled by default.
Getting ready
You will need the Ejabberd server set up and running. Make sure you have enabled MUC with the mod_muc
and mod_muc_admin
modules.
You will need two users for the group chat. One of them needs to have admin rights to set up MUC and create rooms.
Check your XMPP client for the support of MUC or conference protocol. I will be using PSI as a client for this recipe.
How to do it…
For multi-user chat, we need two or more users logged in on the server at the same time, plus a chat room. Let's first set up our chat client ...
Get Ubuntu Server Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.