Skip to content Skip to sidebar Skip to footer

Adding Participants To Xmpp Chat Rooms

I want to implement Group Chat in my application, for that purpose i am using MUC chat rooms to implement the same. Here I want to add a list of members( i have the JID's) to the r

Solution 1:

XEP-0045 doesn't contain a scenario where a client is forcibly made a participant of a chat room. While you can send an invite to a contact (either directly to the user, or through the MUC server), the contact doesn't actually join the chat room until the contact's client requests to join the room.

Thus, adding a user to a chat room without inviting them requires special support in the user's client. Possibly, the client could be modified to automatically accept chat room invites from trusted contacts.

Post a Comment for "Adding Participants To Xmpp Chat Rooms"