I am working on sending message to muc room via API http. I observed that it s possible by get_room_occupants
users who has joined muc room.
Now, from ejabberd muc room I have found that team members are there but are not occupants of the team, thats why is shows this error Only occupants are allowed to send messages to the conference
though being group members.
Is there any api which can connect me to muc and show me in occupants?
Ejabberd Version : 17.11 Installed on : ubuntu 16.04 Configuered DB : mysql
Ejaberd.yml
api_permissions:
"console commands":
from:
- ejabberd_ctl
who: all
what: "*"
"admin access":
who: all
what:
- "*"
- "!stop"
- "!start"
"public commands":
who: all
what:
- "*"
commands_admin_access:
- allow:
- user: "[email protected]"
commands:
add_commands:
- status
- registered_users
- register
- unregister
- get_roster
- connected_users
- send_stanza_c2s
- send_stanza
- join_cluster
oauth_expire: 3600
oauth_access: all