processone / ejabberd

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

Prevent users from sending messages in particular public channel or room #4053

Closed ali-imanpour closed 1 year ago

ali-imanpour commented 1 year ago

I need to prevent users from sending messages in particular public channel or room, just admin can send message. How do I do this?

licaon-kter commented 1 year ago

Remove Voice for visitors with Dino or Gajim?

ali-imanpour commented 1 year ago

Would you please explain in detail? Is it better to the do this in ejabberd server?

licaon-kter commented 1 year ago

open the Dino or Gajim client, login as the room admin/owner, go to room properties

ali-imanpour commented 1 year ago

Thank you. I've building custom app based on conversation-android, but never see any related options in it. Is it possible to do it via api or module? Only way is doing by mentioned clients?

licaon-kter commented 1 year ago

Conversations has "moderated" toggle in room settings, yes

ali-imanpour commented 1 year ago

Sorry, but I changed room config but regular user can send message to room|channel. image

It's possible to revoke write permission for specific user in dino, not in room or channel setting. I need to do that for all users.

licaon-kter commented 1 year ago

You changed something related...but not what I said.

Toggle off Moderated above there and test, then toggle off "default users as participats" below it too.

ali-imanpour commented 1 year ago

Much appreciated. Exactly what i want.