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

ejabberd MUC client unable to get configuration form after creating room

I was trying to create a MUC room from my XMPP client side communicating with Ejabberd. Here's my Ejabberd muc config: mod_muc: ## host: "conference.@HOST@" access: muc access_create: muc_create access_persistent: mud_create access_admin:…
jjsino
  • 11
  • 1
1
vote
1 answer

Spring Integration Xmpp 4 - Send create muc request

I configured spring integration with xmpp and I can send message to other jid. To build the message I use the following method: Message message = MessageBuilder.withPayload("Test Message"). setHeader(XmppHeaders.TO,…
chiarotto.alessandro
  • 1,491
  • 1
  • 13
  • 31
1
vote
1 answer

XMPP MUC duplicate message on sending message to room

I am working on a chat application to achieve multiuser chat functionality. I am able to join room and send message but i am facing a strange problem. While sending message to room, message repeat/duplicate itself. This issue is in sender side (user…
Amrit
  • 301
  • 2
  • 14
1
vote
2 answers

iOS XMPPFramework - How to get nickname of MUC message?

When I have joined a MUC room with XMPPFramwork I receive new messages via the delegate method: func xmppRoom(sender: XMPPRoom!, didReceiveMessage message: XMPPMessage!, fromOccupant occupantJID: XMPPJID!) { } How can I get the nickname of the…
funkenstrahlen
  • 3,032
  • 2
  • 28
  • 40
1
vote
1 answer

Unable to send or receive messages in Multi User Chat - XMPPFramework

I have created a group on Openfire server and two users. I'm able to authenticate both users using XMPPFramework but unable to exchange the messages between them. I can see both users join the group on Openfire server. Using the following server…
Himanshu Mahajan
  • 4,779
  • 2
  • 36
  • 29
1
vote
0 answers

How to receive multiuserchat message in smack 4.1.5

Is there any method like ChatManagerListener for receiving the entire multiuser chats ? I found muc.addMessageListener and PacketFilter but both are dependent on the group name. I need to listen group messages based on connection object. I viewed…
rajeesh
  • 937
  • 10
  • 11
1
vote
1 answer

TextSecure (Signal) open source server setup

I am trying to setup text-secure server, but i couldn't find a proper guide or documentation on it, i have built textsecure - server jar and client side apk from the open source source available in GitHub, but how to configure it and use our own…
Arunmay92
  • 11
  • 1
  • 4
1
vote
3 answers

How to send composing / is typing (Chat states) event in Multiuser chat / Group chat & One to One chat in xmpp android?

I want send composing event in Group (Multiuser) chat in xmpp, I am using asmack library, I have done same functionality with One to One chat. I am using below code: mMessageEventManager = new…
Rons Jackos
  • 75
  • 4
  • 9
1
vote
0 answers

Get the muc users with the affiliation owner using the strophe js muc plugin

Hello I'm using the muc plugin and trying to get the muc user with the affiliation of 'owner'. i have tried doing this using the onRoster call back which is added when joining a muc. $scope.XMPPConnection.muc.join(room, $scope.facebookId, onMessage,…
patrick_corrigan
  • 809
  • 11
  • 24
1
vote
1 answer

Removing user from MUC member list

Is there a way a user can remove himself from a XMPP Multi-User Chat member list without being necessarily an owner or admin (i.e., change his affiliation from member to none)?
Gabriel Huff
  • 743
  • 1
  • 6
  • 18
1
vote
1 answer

Android AsyncTask not returning all results when retrieving information from server

I'm working on an Android app that connects to an Openfire server using the Smack library. I have an activity that calls an AsyncTask from the onStart() method to retrieve information and add it to the UI. The AsyncTask will use the…
1
vote
1 answer

Retrieve groupchat history using strophe.js

I am using ejabberd 15.06 version with Strophe.js. Retrieving the one-to-one chat from my backend database works fine. But how can I retrieve the groupchat history from the database?? For example, if I have a "strophe" group. When new users joins…
Yashwanth Babu
  • 919
  • 9
  • 30
1
vote
1 answer

How to get openfire chat room messages history

I use Strophe library to connect to an OpenFire XMPP server. How can I receive the chat room messages history ? var o = {to:'roomName@conference.domain.com/youNick'}; var m = $pres(o); m.c('x', {xmlns : 'http://jabber.org/protocol/muc#user'},…
Sreenivas K
  • 109
  • 1
  • 10
1
vote
1 answer

Implement group chat using ejabberd

I want to implement group chat like What's App MUC(room chat) has some limitations: 1. user can not get the history of which rooms he has joined. 2. if the invited user is not online, then the user can not join the room and get the message. Multi…
xhsoldier
  • 575
  • 6
  • 31
1
vote
3 answers

How to handle MUC chat messages- messages duplicating

I have implemented one to one chat using XMPP framework It has extensive support in one to one chat. Message archiving and fetching is way simple. But i see, very difficulty in handling a group chat message saving and displaying. The sorting and…
alin andrews
  • 39
  • 1
  • 7