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.
You will need the Ejabberd server set up and running. Make sure you have enabled MUC with the
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.
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 ...