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

How to unban user in multi user chat room using smack-android:4.1.4

I'm using smack-android:4.1.4 to connect to xmpp server, and I use this code to connect to a multi user chat room on that server: MultiUserChatManager mucManager = MultiUserChatManager.getInstanceFor(connection); MultiUserChat muc =…
T-D
  • 1,306
  • 1
  • 16
  • 23
2
votes
2 answers

Android Smack giving timeoutexception when joining MultiUserChat

I am trying to join a MultiUserChat using Smack on Android. Currently I can chat 1-on-1 perfectly fine, and I am connected to the server as I show online. I followed the examples provided here. I have the following code to join a MultiUserChat…
Gooey
  • 4,740
  • 10
  • 42
  • 76
2
votes
0 answers

Group chat using jabber IMCore API

I am trying to run CAXL API to integrate IM to my webpages. I have tried the new jabberwerx demo with material design but group chat is not working.On clicking "invite to group chat" button, a method is invoked which tries to enter the chat room…
Deepna
  • 93
  • 1
  • 1
  • 5
2
votes
1 answer

How to join multiple rooms by just sending one message to ejabberd server

For example, I have 20 rooms to join. The simple solution is to send 20 message to each room id. Considering the performance, this is bad. I want to join the 20 rooms by just sending one message, how to achieve this? Writing a module to…
xhsoldier
  • 575
  • 6
  • 31
2
votes
1 answer

How to get all fields from ejabberd from MUC module?

We want to get all fields from this link (http://xmpp.org/extensions/xep-0045.html#roomconfig) for this section Example 165. Service Sends Configuration Form to Owner In the specification it is showing all fields, but we are not getting all fields…
2
votes
2 answers

ejabberdctl command "create_room" not known

I wanted to setup a simple jabber server to enable chat with my team. Everything went smoothly until the point I wanted to create conference rooms. When I run ejabberdctl with no parameters, the option create_room does not appear in the list, and if…
cellover
  • 419
  • 5
  • 19
2
votes
0 answers

How to invite new members to an existing XMPP MultiUserChat aSmack

I want to make a group chat where every user can invite new users. To achieve this I have granted owner privileges to each user. The below method executes successfully without errors but the new users doesn't get an…
Kishath
  • 5,560
  • 4
  • 17
  • 22
2
votes
0 answers

"MultiUserChat.addInvitationListener" not being called

I am working on a GroupChat process. I have successfully sent the invitation and using PSI i have received this invitation. But M unable to invoke my own "MultiUserChat.addInvitationListener". I have done this many ways but in-vain. Here is one of…
BST Kaal
  • 2,993
  • 6
  • 34
  • 52
2
votes
1 answer

trouble setting up anonymous login in ejabberd

In ejabberd.cfg I have the following {host_config, "thisislove-MacBook-2.local", [{auth_method, [internal, anonymous]}, {allow_multiple_connections, false}, {anonymous_protocol, both}]}. but when…
scc
  • 10,342
  • 10
  • 51
  • 65
2
votes
4 answers

How to create Group in aSmack xmpp in android ?

I am getting class cast exception while creating muc in android. E/AndroidRuntime(31002): Caused by: java.lang.ClassCastException: org.jivesoftware.smack.packet.DefaultPacketExtension E/AndroidRuntime(31002): at …
Linda Thomas
  • 81
  • 1
  • 11
2
votes
1 answer

Quickblox android sdk groupchat

I'm using quickblox sdk group chat. This is my code. But I still wrong. Can anybody guide me, please? UserListForGroupActivity.java public class UserListForGroupActivity extends Activity implements QBCallback { private ListView usersList; private…
2
votes
2 answers

XMPP retrieve public rooms on openfire server + iphone SDK

I am developing a chat application in iphone using XMPPFramework. Everything is working great but stuck at the point. I want to retrieve a list of all public rooms but there is no method found in XMPPFramework. So can someone help me out to solve…
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
2
votes
1 answer

Creating Chat Room In Android Gives Error:"item-not-found(404)

I am developing a chat application using ASMACK. I am able to connect and send messages for private chat.However, when trying to create a chat room i get the error: item-not-found(404) This is the code i am using: …
ewom2468
  • 821
  • 3
  • 14
  • 44
2
votes
2 answers

Adding Listeners for MultiUserChat (aSmack)

How can we initialize MultiuserChat, these are the details, to create an object of MultiuserChat class we need the connection and room name as parameters // this is the constructor of MultiUserChat public MultiUserChat(Connection connection,…
Jashan PJ
  • 4,177
  • 4
  • 27
  • 41
1
vote
1 answer

MUC, XMPP - Unread messages counter, last message

Is it possible without joining to the room to get: the number of unread messages from MUC? I have seen similar questions ~7 years ago but still didn't find such solution. Or is it possible to get information if there is a unread message? the last…