1
votes

I'm new in android. i want to create chat app using ejabberd xmpp server with smack 4.1 api.

i created chat_room using command now i want to add participant into that chat groups.

here is the screenshot

enter image description here

in above image there are three rooms created but there is no any participants.

how can i add participants?

1
what command? xmlrpc or http?Ignacio Garat

1 Answers

1
votes

You cannot directly add users to a chat room but you can send invitation to other to join your chat room. You need to use the send_direct_invitation command for that.

https://docs.ejabberd.im/admin/ejabberdctl/muc-admin/#invite-several-users-to-a-muc-room