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

"No Response from server" exception in group chat using smack in android

I am using smack.jar library. I have tried to implement group chat using xmpp in android by this code: MultiUserChat muc = new MultiUserChat(connection,groupName+"@"+Utils.SERVER_NAME); muc.create("nickname1"); Form form =…
Mira Thakkar
  • 339
  • 1
  • 6
  • 19
0
votes
1 answer

Permanent group in xmpp

I am developing a chat app in c#.net using jabber, agsxmpp library and I want to make groupchat in it such as whatsapp groupchat and skype groupchat. I came across persistent room in xmpp. Does it provides the functionality of permanent groups? and…
0
votes
1 answer

Server less Group Messaging (chating) Xmpp

I Want to Implement Group Messaging (chatting) without associating server(Peer to Peer chatting) Although connections are established by ejabberd server.I am able to do it one to one chat but didn't got success in group messaging. Does anyone has…
Deepak
  • 142
  • 5
0
votes
1 answer

Smack MultiUserChatManager creates not joinable room

I am using Smack 4.1.1 as Gradle dependency in mine Android project. I have successfully established connection with mine local OpenFire server. But I have an issue while creating temporary room from Android…
BAZTED
  • 546
  • 5
  • 16
0
votes
1 answer

'from' attribute in delay element of MUC history message has jid of occupant instead of room

I am observing that from attribute of delay element in MUC history message has JID of the occupant instead of room. As per xmpp.org/extensions/xep-0045.html#enter-history: Discussion history messages MUST be stamped with Delayed Delivery (XEP-0203) …
GJain
  • 5,025
  • 6
  • 48
  • 82
0
votes
1 answer

ASmack MultiUserChat ( MUC ) Failing to Listen to Messages

I have this Android application which I've been trying to set a XMPP MultiUserChat. As far as connecting to XMPP, loging-in and creating a MUC ( as well as joining an already created one ) everything is going alright. I just seem to be failing at…
0
votes
1 answer

Unexpected presence stanza for MUC create room

6E64864A-36AF-4B83-8EF5-6E58C4A6117AWhen I try to create same room twice in a row, I RECV presence stanza from service containing "201" status code both times. Is that expected behavior? From XEP-0045, it seems 201 should be send ONLY when the room…
GJain
  • 5,025
  • 6
  • 48
  • 82
0
votes
2 answers

Unable to get xmpp muc room information in android

I am using asmack library for my chat application.I am using below described code after successful login for getting Muc room information: MultiUserChat mMultiUserChat = new…
Raj
  • 844
  • 2
  • 11
  • 29
0
votes
1 answer

Can't send a group message - Error 400 - Modify - BadRequest

The user is online, inside the room, can listen but it cannot send any message. Why? I am using JAXL in PHP! XML Message: available! dnd
richardaum
  • 6,651
  • 12
  • 48
  • 64
0
votes
1 answer

How to Fetch MUC room occupants list Inside Openfire Plugin?

I am developing a openfire plugin and stuck at one point. Below is my plugin code. I have implemented MUCEventListener and I am getting callbacks also. But now I want to fetch occupants list from roomJID in messageReceived() method. research a lot…
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
0
votes
0 answers

Creating a xmpp multi user chat room from a component, but not receive any messages from it

Is it possible to create a multi user char room from a xmpp component, beeing able to broadcast messages over the room but not receiving any presence or message stanzas from it? The Background: I making a component for a turn based game. When a game…
Nathan
  • 7,099
  • 14
  • 61
  • 125
0
votes
1 answer

Unable to get Joined Chat Rooms using asmack

My problem is i am not been able to receive joined chat rooms. I am using the openfire server 3.8.2 and asmack library asmack-android-16.jar. I receive item-not-found error when i call getJoinedRooms function. though i can see the user is joined in…
Fallak Asad
  • 368
  • 4
  • 18
0
votes
1 answer

aSmack - MultiUserChat.getJoinedRooms returns empty iterator

I'm working on an Android app that utilizes ASmack to send XMPP messages to and from a server in a background service. I can join a MultiUserChat (MUC) by calling MultiUserChat.join(connection.getUser());. I can confirm that I joined the chat by…
0
votes
1 answer

Can't get all BookMarkedRooms when using PrivateDataManager with (a)Smack. Always returns only the last bookmark

I added 3-4 Persistent Conference rooms and try to get connect ever conference room at app start time but when i tried to get all bookmarked rooms it will just returns me one room. and that room is last time added. muc = new MultiMUC(connection,…
0
votes
1 answer

Error creating room using Smack: "Feature not implemented"

I'm following the documentation and trying to create a room: //Create a MultiUserChat using a Connection for a room MultiUserChat muc = new MultiUserChat(conn1, "myroom@mycompany.com"); // Create the room muc.create("testroom"); // Send…
Arun
  • 1,599
  • 5
  • 19
  • 33
1 2 3
13
14