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

ejabberd muc performance bad

I used Tsung tool to test Ejabberd in Centos(4CPU, 8GB) , and create 3000 users to join a Muc Room, then every users talk in room every thirty seconds, Centos CPU load more than 3.5, CPU% more than 90%. Less than I expected, Is it Normal…
0
votes
1 answer

Not able to join Chatroom smack/smackx, XMPP: Exception not-authorized (401)

I am new in working on MultiUserChat (groupchat) using smack/smackx libraries and having a difficult time in joining a existing public chatroom and getting error (Exceptionnot-authorized(401) ). The user is gets logged in thru client in chatroom and…
PC245
  • 21
  • 3
0
votes
0 answers

Add user to MUC instantly (ejabberd,xmpp)

Is it possible to add a user instatnly to the MUC? I created room, granted the new user membership and role but then the added user still doesn't exist in the room. He appears in the users list only if he accepts an invitation / or joins to this…
0
votes
0 answers

XMPP MUC - Automatically join to room after added membership by another user

When I open my application, user gets MUC JIDs to be joined and then user can see if there are any new messagesm, he can open room etc. Is it possible to add new MUC in realtime to the availabe rooms when other user will give the…
0
votes
0 answers

Information messages in XMPP MUC

I'm looking for system that let me to put aditional system messages in MUC. For example 'chat room has been created', 'user1 has added user2' or 'user1 has left the room' etc. What is the best solution for that kind of messages? Thanks
0
votes
1 answer

Conversejs groupchat subscriptions (ejabberd)

I have been struggling to configure a group chat using conversejs and ejabberd. From the documentation I've stumbled across, it seems like it is possible to have a persistent group chat that users can be subscribed to, which will allow them to…
0
votes
1 answer

Best practice for destroying MUC rooms in Ejabberd after a custom expiry period

We expose a service that allows clients to create a MUC room in Ejabberd with a given expiry time. After this time, the room should be destroyed, regardless of whether the room is active. We currently achieve this by: Setting custom expiry time…
0
votes
1 answer

XMPPError: item-not-found - cancel

I am using xampp and Openfire for group chat in android. I have attached my code below which is used to join a chat room but I was getting an error saying XMPPError: item-not-found - cancel. Though I have tried some relevant questions none of those…
0
votes
1 answer

How to listen for multiple MUC chat group message at a single place outside chat window using Smack client in Android

When I open a chat window of the particular group then, I create/join a group by below code private MultiUserChat joinRoom(String roomName) throws XmppStringprepException, XMPPException.XMPPErrorException,…
Mihir Patel
  • 404
  • 6
  • 14
0
votes
1 answer

Login to muc room with exmpp

How can i login with exmpp bot to multi user chat room? try to use: create_move_room (Room, Username) -> #xmlel {name=presence, attrs=[#xmlattr{name = to, value = list_to_binary(Room ++ "@" ++ ? …
0xAX
  • 20,957
  • 26
  • 117
  • 206
0
votes
1 answer

Fetching MUC Message History using MucSub in IOS

Every time when I’m signing into the app or reinstalling app I didn’t receive group message history. I have searched a lot for message archiving in MUC for iOS. Ejabberd doesn’t provide me old messages of the group although I configured setting…
Jekil Patel
  • 403
  • 4
  • 18
0
votes
1 answer

How to send room configuration form and create persistence rooms from android using smack 4.3.4

I am facing problem for create persistence room and MUC, Not able to send room configuration form. Values i send that are not set to form fields and default values are send to server.
shekhar pande
  • 1,172
  • 1
  • 11
  • 21
0
votes
2 answers

I want the Erling code to determine the length of the visitor nickname

I use the Ejabberd server . How do I add the option to specify the number of characters of the visitor nickname within the room configuration ?
0
votes
1 answer

How chat sent, read, Received work when other user not online / Offline at same time?

I already implemented XMPPMessageDeliveryReceipts and working fine when both user online. My problem is other user send repose and User1 is offline. Note - - I have only MUC chat feature. Not one to one chat. - I did code with help of link -…
0
votes
1 answer

Try to rejoin a client to a specific room after reconnect

I successfully created a muc service and create a room. After i create the room "testroom@conference.xmpp.messenger.local" i enter the room with my client "client@xmpp.messenger.local". (My client is also the owner of the muc room) in this case it…
Steffen
  • 1
  • 1