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

XMPP - Using lib Smack remove user from group(conference) in MUC

We are integrating MUC in our app for group chat. where we can create group(conference) and adding members. Questions are- Removed member still getting group messages. What is proper way of remove a member from group? How to get total members of…
Kalu Khan Luhar
  • 1,044
  • 1
  • 22
  • 35
0
votes
0 answers

Fetching group name from MUC invitation in android smack?

I am using smack library for implementing Multi user chat in android application. I am able to receive invitation for group and able to join using the following invitation listener. InvitationListener mBilateralInvitationListener = new…
Raghu Mudem
  • 6,793
  • 13
  • 48
  • 69
0
votes
1 answer

Trying to implement MUC Chat in Openfire and Android using Smack

Groups are created using MUC, but i cannot retrieve all group of user. I have done research and This is deprecated and REST API is recommended. The REST API is not working as expected. I am not able to connect to server. I have added REST API…
0
votes
1 answer

send direct invitation not working on MUC [ejabberd mod muc admin]

i have no problem to create MUC room. But when i want to add participant and use below command : ejabberdctl send_direct_invitation testRoom@localhost localhost "" "hi" msg_test1@localhost it return me error like this : Problem 'error…
0
votes
0 answers

Add addMessageListener for MultiUserChat Using Smack 4.1

I'm new to android and I tried to create a chat app using Smack 4.1 and Ejabberd. I have implemented a group chat using MultiUserChat. I have added Messagelistener to listen every new incoming message and add into adapter. When I enter into chat…
Kaushik Makwana
  • 2,422
  • 9
  • 31
  • 50
0
votes
0 answers

Smack XMPP not rejoin on login after more then two minutes

I am using smack-android:4.2.0 for creating a simple chat app for groups. I have created MUC chatroom every thing including subscription is working just fine. If I logout and then login again in the time span of 2minutes then the user automatically…
Syeda Zunaira
  • 5,191
  • 3
  • 38
  • 70
0
votes
1 answer

How to use Openfire with XMPP MUC Light

Queries Chat Service for MUC Light Support via Disco must contains it taht "" But Openfire 4.1.3 haven't this.Should l use other plugins?
Zry
  • 23
  • 4
0
votes
1 answer

MUC/Sub Remove user subscription automatically

I am trying to develop a chat app using Ejabberd 16.09, the only way i find to unsubscribe a user is There is any way to…
0
votes
2 answers

Not Recieving Messages for MultiUser Chat Xmpp samck android

I am working on a chatting application in which i can send messages , images , videos etc i have done this in one to one chat also fulfill it in group chat . But the issue is :- I have to always join the each group everytime i login otherwise i am…
Ali Abhas
  • 107
  • 7
0
votes
1 answer

How to add muc component without restarting the prosody server

To add muc component without restarting the prosody server done the following code then trying to execute it using rest api. but muc component not able to loading . --------------code begin--------------- localh hm = require…
MAK
  • 773
  • 4
  • 9
  • 30
0
votes
1 answer

Users with same JID appears twice in the multi-user chat if they connect with multiple devices

I run a XMPP server with Prosody. Some user appear twice if they connect with two clients (e.g. Conversations and Gajim) and join a multi user chat. This is really irritating, for example depending which username you mention the notification will…
0
votes
1 answer

Bad-Request error in grantMemberShip() XMPP Smack

I am using Smack library for XMPP, but getting bad-request error, when trying to invite user and giving him permission of Admin (When I created a room). Code : try{ muc.grantMembership(userId); } catch…
NehaK
  • 2,639
  • 1
  • 15
  • 31
0
votes
0 answers

ejabberd muc creation fails on android with response timeout

I'm trying to create a muc_room with SMACK api on ejabberd. after the transaction I get an error: No response received within reply timeout. Timeout was 5000ms (~5s). Used filter: AndFilter: (FromMatchesFilter (full): instantroom2@localhost/pinit,…
vldgrch
  • 1
  • 1
0
votes
1 answer

ejabberd - max number of participants in MUCs vs. PubSub

I am building a mobile chat platform with support for both private and public rooms. For private rooms, I have already successfully implemented the MUC functionality using ejabberd on the server and XMPPFramework for my iOS client. However, for…
0
votes
0 answers

NoResponseException on MultiUserChat room creation

I am trying to create a MultiUser Chat room using Java.. This is my code... ConnectionConfiguration config = new ConnectionConfiguration("ip_address", 5222, "admin.com"); config.setSecurityMode(SecurityMode.disabled); XMPPTCPConnection connection =…
Nishad Azeez
  • 81
  • 2
  • 7