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
3
votes
0 answers

Automatically set anonymous users' role to Visitor in ejabberd?

I'm working on a project that has group chat capability using XMPP and moc_muc, in which only registered users can send messages (while anonymous users can only read but not write). I'm using ejabberd, with SASL anonymous support (registered users…
dangmai
  • 337
  • 6
  • 12
3
votes
1 answer

MUC in iOS using robbiehanson XMPPframework

What is the step by step procedure to implement MUC in iOS using robbiehanson XMPPframework? I tried allocating the room, then activating the stream and joining the room. But I got a response as follows:
SINDHYA PETER
  • 965
  • 9
  • 35
2
votes
1 answer

Room creating fail when using Ejabberd REST API

When I try to create a MUC room (as described in the official docs) using Postman with the following call: POST /api/create_room { "name": "testRoom", "service": "conference.xmpp.localhost", "host": "xmpp.localhost" } The…
Karim H
  • 1,543
  • 10
  • 24
2
votes
1 answer

Create muc room programmatically

I need to create multi user chat room from my module. I try to use mod_muc:create/5 - mod_muc:create_room("conference.localhost", "testroom", "testuser@localhost", "testuser", default). But when i run client and login, nothing happens. The room…
0xAX
  • 20,957
  • 26
  • 117
  • 206
2
votes
2 answers

No response received within reply timeout . Smack 4.2.0 muc.join()

I had implemented MultiuserChat in my project. When I am joining a group for the first time it is working fine. But an error is coming when I join rejoin the group after reconnection. Code of join group: Resourcepart mResourcepart =…
Bhavesh Jabuvani
  • 329
  • 1
  • 14
2
votes
0 answers

MUC Light needed separate message thread?

I am newly reading MUC and XMPP. In Normal MUC, it create separate message thread. Even XMPP mentioned best practice to for message thread. https://xmpp.org/extensions/xep-0201.html#motivation My problem is when we create new single group say…
2
votes
1 answer

XMPP error reply received from myroom@conference.****/myroom@conference.****: XMPPError: item-not-found - cancel

I am not able to join the room. I have gone through the documentation XMPP Instant Room Error Here is how i am creating instant room: try { UserSearchManager usm = new UserSearchManager(Utils.connection); List
Rahul Agrawal
  • 521
  • 6
  • 24
2
votes
0 answers

MUC File transferring in openfire

I have implemented MUC in openfire in which I am working on file sharing thing which is not working in my case. When I use: FullJID = JidCreate.entityFullFrom("groupname@conference.domain name/resource name") for transferring file it is not working…
WDeveloper
  • 33
  • 5
2
votes
1 answer

MUC Room Chat History using Strophe.js web client and MongooseIM As XMPP server

I am currently struggling to get Chat Histroy of a MUCLight Room using Strophe.js. I dont want to use the direct MUC plugin. I have used the below approaches:- Sending the below IQ, but no return in the callback:-
2
votes
2 answers

Members cannot get member list in a muc room

I'm using IOS XMPPFramework for our chat application and I'm creating the group and adding the selected member with the below code, and receipants succesfully joins the group. And if I query the member list of that group admins succesfully retrieve…
2
votes
0 answers

How to transfer file in multi user chat room using smack api+openfire

I am trying to transfer file in Multi user chat room using smack api + Openfire server. I am using the below code to transfer the file, but able to send the file: public void SendFile(final String Receiver) { System.out.println("Receiver is:-…
2
votes
1 answer

Does Ejabberd/XMPP have a Limit on Auto-Join MUC?

I am currently in the process of developing an application that essentially offers multiple conferences/rooms to each user at once. In other words, an individual user can be in as many rooms as they would like at any one time... However, whilst this…
Ben Carey
  • 16,540
  • 19
  • 87
  • 169
2
votes
0 answers

XMPP/ejabberd MUC: can't join more than 11 rooms

I am currently developing an iOS app using MUC with ejabberd and XMPP. Everything seemed to work fine, until we started to join the user to more than 11 chat rooms at the same time. The first 11 chat rooms were connected without any problems using…
2
votes
2 answers

How to create chat room in ejabberd through rest api?

I know that I can create chat room in ejabberd using command ejabberdctl create_room room_name muc_service xmpp_domain and I can send invites to users using command ejabberdctl send_direct_invitation room_name password reason jid1[:jid2] Can someone…
Ankit
  • 326
  • 1
  • 7
  • 18
2
votes
2 answers

MUC Invite message is not sent to all user resources on Openfire

I am having problems getting Openfire to send an invite message to all user resources associated with a user jid. I am using Openfire(3.9.3) and Strophe(1.1.3). The users jid has 2 resources logged in on openfire (e.g.…
silvade
  • 33
  • 1
  • 4
1 2
3
13 14