processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6k stars 1.5k forks source link

Unable to remove user from room #4152

Closed happy-berry closed 5 months ago

happy-berry commented 5 months ago

ejabberd version: 23.10 OS: Linux Debian 6.1.69-1 (2023-12-30) x86_64

I want to implement multiplayer chatting for users by calling APIs here is my calling process: 1、create_room 2、send_direct_invitation 3、kick_user 4、destroy_room But I fount only /set_room_affiliation, using this API will add users to the blacklist of the room, making them unable to join again unless set to member, I don't want this to happen How can I move the user out of the room?