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

Message not storing in MAM archive in case of group chat

I am using Smack muc for group chat. I join a group and send some message. Later when I leave and join a room back again I try to fetch message archive but I don't get any message. Is their some way MAM archive can store muc group message ?
rohitraj
  • 46
  • 4
1
vote
1 answer

install & configure mod_offline_post in ejabberd 20.07 version

I have installed and used mod_offline_http_post module in 20.07 version and was able to get push notifications for individual users. But this module doesn't support MUC rooms. I wanted to get push notifications for users who have subscribed to a MUC…
1
vote
1 answer

Retrieve group/muc chat history using smack in android

I am using the Smack 4.3.4 android library. I am facing issues while fetching the chat history of a particular group using the below code. But its return 0 However, There are many messages which I can see using another client web. private fun…
Sagar Maiyad
  • 12,655
  • 9
  • 63
  • 99
1
vote
1 answer

What is the difference between occupants and affiliations?

Want to know how to add occupants in room. Can we add occupants without adding affilitions?
Mayuri More
  • 216
  • 2
  • 12
1
vote
0 answers

Ejabberd MucSub issue with room leave/exit

we are working on an Instant Messaging app based on XMPP handling members-only persistent groups using XEP-0045 and MucSub. We have some issues with room occupancy and we didn't find a way to let users abandon a room permanently: we tried several…
Yakko Olè
  • 71
  • 1
  • 5
1
vote
0 answers

How to get login user's groups list using XMPP?

I am developing MUC using XMPP framework. I created groups. When the user uninstalls the app and then re-installs it, I want to get all of that user's groups list. I am doing the following to get groups list. Sometimes it returns groups list but…
Kishan Vyas
  • 327
  • 1
  • 2
  • 15
1
vote
1 answer

Handle Xmpp group in objc

I have created room with XMPPFramework in objc .. I created it successfully but when I m going to offline that time room was destroy. I also no idea where I should place invite function to add user in group (room). please sort out for me.
1
vote
0 answers

Prosody IM or Openfire?

I am new to XMPP and after searching on internet I have decided to go with either Prosody or Openfire. I have decent knowledge in Java and my question is, So should I select openfire because I know Java or Prosody because it's easy to setup and…
user3606902
  • 829
  • 1
  • 10
  • 25
1
vote
0 answers

How to delete or exit from MUC in XMPP

Currently i am making chat application and i required to delete Particular group chat. For delete group i tried below solution but not working.please check this code -(void)ExitGroup:(NSString *)Roomjdi Removeuserid:(NSString *)Userid { { …
Jigar
  • 1,801
  • 1
  • 14
  • 29
1
vote
2 answers

How can I find out if a MUC exists using Smack?

Working with Smack 4.3.0 in a Multi User Chat (XEP-0045-1.21) I'm trying to find out if a room is already created or not, but I'm not sure if what I'm doing is the correct way. I have search for it and the most relative answer to it was does MUC…
MiguelHincapieC
  • 5,445
  • 7
  • 41
  • 72
1
vote
0 answers

Android : XMPP MUCLight Smack listen for group chat messages

In XMPP service I connect to xmpp server, and once the connection is made I fetch all the groups that I am currently in, and add message listener to every group. List occupiedRooms =…
Sidhant Rajora
  • 307
  • 4
  • 16
1
vote
0 answers

Can't receive messages after connection restart in MultiUserChat (XMPP ,Smack)

I had implemented MultiUserChat in my project using Smack(I am using Openfire server in backend) Create a new group, invite the user to a group is working fine. Normal group chat is working fine for the first time. If any user's connection is…
Bhavesh Jabuvani
  • 329
  • 1
  • 14
1
vote
2 answers

XMPP - What is different between muc (mod_muc) and mucLight (mod_muc_light)?

I have successfully implemented mucLight in my app with mongooseIM server.but I'm aware about muc protocol on ejabberd server. Which client extension support muc/mucLight protocol ? Is there a way to have a shared history for a group using…
Sagar Jethva
  • 986
  • 12
  • 26
1
vote
1 answer

How to send XMPP IQ stanza using Smack Android library to server?

I want to send the following IQ stanza to Ejabberd XMPP Server using Smack Android Library. How can I send?
1
vote
1 answer

MultiUserChatLight Group Message Listener

Developing a Chat APP Group function using MucLight XEP with smack library ,the problem is I m able to send the message to group successfully but when its come to message listening I get confused,in smack library we have …
K Guru
  • 1,292
  • 2
  • 17
  • 36