Adding participants to XMPP chat rooms

后端 未结 1 1715
旧巷少年郎
旧巷少年郎 2021-01-17 21:31

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

相关标签:
1条回答
  • 2021-01-17 21:45

    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.

    0 讨论(0)
提交回复
热议问题