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
1
vote
1 answer

Create Multi User Group with Prosody Server on Android (aSmack) failes with "Missing acknowledge of room creation"

i am working on XMPP chat app in android, using Prosody as XMPP server. i have written code for create Multi User Chat room and its working fine when i am using Openfire as server, but when i use Prosody as server it gives me error, as Creation…
Yograj Shinde
  • 839
  • 12
  • 23
1
vote
1 answer

How to implement XEP-0289 FMUC plugin on a XMPP server?

I need to implement a distributed XMPP MuC application on the lines of XEP-0289 minus some of the features, in essence I want to have a bare bones implementation of the plugin, my concern is to address fault-tolerance and as of now I do not want to…
S. Aditya
  • 35
  • 4
1
vote
2 answers

How can I tell the difference between the JID of a user and a JID of MUC?

Suppose I have two JIDs: JID 1: bob@example.com JID 2 room@chat.example.com JID 2 clearly refers to the chat server, but the chat server isn't always going to have the word chat or conference in it. Is there a way, using the Smack libraries, to…
Locke
  • 39
  • 4
1
vote
1 answer

how to get joined group list & their member info using XMPP?

To get Joined Room List i have tried:, getJoinedRooms(connection, "xmpptestuser1@server.com");// line:213 Iterator rooms = MultiUserChat.getJoinedRooms(conn, userJID);// line:689 //System.out.println("ROOM:"+rooms); while…
Bhoomika Brahmbhatt
  • 7,404
  • 3
  • 29
  • 44
1
vote
2 answers

Not Authorized error while creating a MultiUserChat room

I am trying to create a instant chat room using Smack but the server returns me an IQ packet with an error code 401 and type="AUTH" and a message packet with a message that the room is locked from entry until configuration is confirmed final…
1
vote
1 answer

Packet id is null in the messages received from QuickBlox chatroom

Below is my Android code for group chat: /* Sends messages */ public void sendChatMessage(String text) { Message message = muc.createMessage(); message.setBody(text); message.setPacketID("ABC_1"); …
TheMan
  • 703
  • 8
  • 11
1
vote
1 answer

Smack multi user chat list of online users

I'm using the account administrator to login into my openfire XMPP server, from my third party server. I need to discover the available users into specific multi-user-chat. For "available" I mean all the users ONLINE in the room. I know that the one…
CeccoCQ
  • 3,746
  • 12
  • 50
  • 81
1
vote
1 answer

How to create Group chat in android?

I am using aSmack library for creating Group Chat ( MultiUserChat) in android. able to create MultiUserChat instance, getting available rooms in that domain and able to join in a perticular room. Now i have some question on this, those are Is it…
RajaReddy PolamReddy
  • 22,428
  • 19
  • 115
  • 166
1
vote
1 answer

XMPPFramework - How to Create a MultiUserChat Rooms?

How can I Achieve GroupChat in iPhone using XMPPFramework.I tried fallowing code but room is not created.How can I know whether room is created or not.XMPPRoomDelegate are not called.When Stream disconnected, handleDidLeaveRoom method called.Can any…
venkat
  • 762
  • 2
  • 8
  • 20
0
votes
1 answer

Ejabberd: Additional message types in MUC

I need lots of MUC chats with additional functionality: Change user's room manually from code Handle special "system" calls (for example calls like /changeroom must be not transported to everybody, but handeled by system) Store lots of additional…
Ben Usman
  • 7,969
  • 6
  • 46
  • 66
0
votes
0 answers

How to fetch openfire archive messages on angular web?

I have connnected to the openfire with xmmp.js library on angular. I am not able to find options to get MAM/Archives using this library. Also, there is no documentation on openfire as well. Can anyone guide me getting archives? I tried xmpp/client…
0
votes
2 answers

Cannot create Ejabberd MUC_ROOM from remote ip

First of all, sorry for my bad english I'm currently trying to configure ejabberd to allow the admin user to execute commands from remote ip address. On my local PC, everything works because ejabberd is installed on the same PC. Here is the…
JessGabriel
  • 1,062
  • 9
  • 18
0
votes
2 answers

How to get list of MultiUserChat groups on an XMPP (ejabberd) server which a user is a member of?

I am running an ejabberd XMPP server with a requirement for all MultiUserChat rooms to be configured as private by default. Only an admin user will be able to create multi user chat groups, and users will only be permitted to join if membership is…
nick_j_white
  • 534
  • 6
  • 27
0
votes
0 answers

Stm32 muc I2c doesn‘t work properly after reboot

we use the stm32g081kb to communicate with a i2c capable nfc Chip from nxp, the ntag i2c.After soldering on a new nfc chip everything works fine. We can read the field detect and reading/ writing the config registers is working properly. After i…
ili
  • 1
0
votes
3 answers

Ejabberd - get user from multi user chat message using Smack XMPP client or enforce nickname

I am running an ejabberd server with a series of locked down multi user chats (members only, registration required, no subject change or PMs permitted etc) One requirement is to strictly identify which users (from their user Id/account Jid when…
nick_j_white
  • 534
  • 6
  • 27