nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.63k stars 436 forks source link

add an ability to prevent users or groups from leaving a conversation #13556

Open drlight17 opened 1 week ago

drlight17 commented 1 week ago

Feature request

**Which Nextcloud Version are you currently using: NC 29.0.1, Talk 19.0.1

Is your feature request related to a problem? Please describe. As an administrator of Nextcloud and Talk instance and I want to have an ability to prevent users and groups from leaving chat, that I've created for notification and alert messages.

Describe the solution you'd like Maybe a checkbox in chat settings that locks added users and groups from leaving this chat.

Describe alternatives you've considered Maybe this can be reached by constant sync of users from groups that is added to such chat. For example, user left such chat but after a while it is automatically returned because user is a member of added in this chat group.

Or did I miss this function somewhere?

Antreesy commented 1 week ago

Technically speaking, we have this flag 'canLeaveConversation' => true|false, but no functionality for moderators yet to specify it behaviour per conversation level

drlight17 commented 1 week ago

Technically speaking, we have this flag 'canLeaveConversation' => true|false, but no functionality for moderators yet to specify it behaviour per conversation level

Am I correct: if this flag is set to true no one won't be able to leave any conversation serverwide?

Antreesy commented 1 week ago

If you have 'Note to self' chat, you might see it doesn't have that 'Leave conversation' option (only 'Delete', because you're an owner). For this room flag is set to 'false' then preparing API response => no way for now to set it manually in DB or wherever

drlight17 commented 1 week ago

Oh, I see. Thanks for explanation. So is this functionality planned for the future releases?

Antreesy commented 1 week ago

Not on the roadmap. But if you or anyone's capable of implementing this, we're welcoming pull requests!

drlight17 commented 1 week ago

Ok, I'll think about this =)