Questions tagged [multiuserchat]

Multi-User Chat (MUC) is an XMPP protocol extension for multi-user text chat, whereby multiple XMPP users can exchange messages in the context of a room or channel, similar to IRC. In addition to standard chatroom features such as room topics and invitations, the protocol defines a strong room control model, including the ability to kick and ban users, to name room moderators and administrators, to require membership or passwords in order to join the room.

Similar to, but less widely used than IRC, Multi-User Chat (MUC) is an XMPP protocol defined by XEP-0045:

This specification defines an XMPP protocol extension for multi-user text chat, whereby multiple XMPP users can exchange messages in the context of a room or channel, similar to Internet Relay Chat (IRC). In addition to standard chatroom features such as room topics and invitations, the protocol defines a strong room control model, including the ability to kick and ban users, to name room moderators and administrators, to require membership or passwords in order to join the room, etc.

A common, open-source implementation of XMPP is the Smack API. For Android, there is also the aSmack API, but this is being merged into Smack to unite the forked APIs.

Usage examples of a MUC can be found here.

204 questions
0
votes
3 answers

xmpp_messenger_ios Swift MUC swift

I am trying to do a MUC on iOS using xmpp_messenger_ios & XMPPFramework Here is the code to join the room. func createOrJoinRoomOnXMPP(){ // location has named array of lat and long NSLog("Creating room on XMPP") let roomJID:…
0
votes
1 answer

ejabberd - mucsub with ejabberdctl

I try to get familiar with the new ejabberd feature (i.e. Multi-User Chat Subscriptions) and just wondering if there is any command that can get those useful info of the subscrition sub as per following List of subscriptions - list of muc room…
lxnx
  • 194
  • 2
  • 17
0
votes
1 answer

sleekxmpp with ejabberd muc

I want to make a muc scprit with sleekxmpp and ejabberd use. What should I do? I tried this tutorial to understand eating sleekxmpp http://sleekxmpp.com/getting_started/echobot.html but, number of connected users at the ejabberd panel kept getting…
0
votes
2 answers

How to know who received a message in a MUC room

For my thesis, I am using Smack to log a XMPP network that uses the MUC module. Another software is currently sending IoT sensor data into different MUC rooms. I'd like to know for every message sent into a MUC room, which users were in that room…
Melvin
  • 1
0
votes
2 answers

Joining XMPP MUC Room without invite - ejabberd

For persistent XMPP rooms, what is the way to make a client join back the room again if he / she has disconnected once? During testing, I find that simply sending back the presence stanza to the said room's JID does not make the client be available…
vikram17000
  • 453
  • 5
  • 18
0
votes
0 answers

How to add users in ejabberd multi user chat?

I was working on ejabberd chat, I'm able to create multiple user chat room with command sudo ejabberdctl create_room mychat localhost xmpp_domain I want to know how to create that in virtual host as it is not being created in virtual host and how…
Ankit
  • 326
  • 1
  • 7
  • 18
0
votes
1 answer

How to send message to all participants of multi user chat room using smack

I am creating multi user chat room for group chat where multi user can have chat. I am using smack for this within jsp . I have added message listener for multi user chat room after joining the room. // Get the MultiUserChatManager …
Jennifer
  • 351
  • 6
  • 18
0
votes
2 answers

How to set chat room password in Prosody XMPP server?

I'm new to Prosody XMPP server. i have setup the server and can create chat rooms. Now I wonder how to restrict particular chat room to given set of users. Suggestions are welcome...
Yasiru G
  • 6,886
  • 6
  • 23
  • 43
0
votes
1 answer

Ejabberd pending MUC messages

I'm working on an ejabberd server and i'm trying to implement the typical push notifications for mobile devices. At this moment, almost everything is already working well. Except one thing: the pending messages to be read by a user. The pending…
joanlopez
  • 579
  • 1
  • 6
  • 17
0
votes
1 answer

How to get list of rooms joined by a given user in xmpp?

I am developing the chat application using xmpp ejabberd. I want to develop an XMPP group chat similar to whats app. XMPP group chat setup is done on my XMPP server. I am successfully creating the room & joining the room. But I want the rooms in…
swapnali patil
  • 304
  • 2
  • 17
0
votes
1 answer

ejabberd group chat configuration with muc

I installed and configured the ejabberd2 server on my ubuntu server and i mod_muc is enabled by default, but i can't able to group chat through the XMPP Client App AstraChat in Android and iOS Group Created successfully, but the group members…
anjnkmr
  • 838
  • 15
  • 37
0
votes
1 answer

ejabberd 16.01 muc and mam mode

On ejabberd 16.01, is it possible to store entire group messages history (muc mode) in odbc using mam mode? I can see that created room are stored in persistent database but I am wondering can message history be stored as well...
rastko
  • 567
  • 9
  • 24
0
votes
0 answers

not getting Xmpp room chat members list in iOS

i'm trying solution given at List of chat room members but . But from this link i'm confuse where to put 'editRoomPrivileges' method. i'm facing exact issue of affiliation permission . i tried to set every participants affiliation permission to…
RamjanSayyad
  • 45
  • 10
0
votes
0 answers

ejabberd mod_muc error joining a chat room (503)

I've updated from ejabberd 15.04 to 15.07 and MUC stopped working. (I copied the exact same config file). I can create a room and change options normally but when I send an invitation and the user tries to join I get the message 503 - Service…
nhenrique
  • 874
  • 1
  • 16
  • 35
0
votes
2 answers

Schedule a task to run daily on eJabberd server?

I want to set up a task that will destroy all inactive persistent chat rooms on my eJabberd server. Is it possible to set up such a task?
Lasonic
  • 841
  • 2
  • 9
  • 28