stream_settings: Add can_delete_own_message_group setting.

Adds per-channel `can_delete_own_message_group` setting for
defining who can delete their own message in the channel.
This commit is contained in:
Vector73
2025-07-16 14:45:53 +00:00
committed by Tim Abbott
parent c4e641365b
commit 97a43fa6b6
23 changed files with 357 additions and 9 deletions

View File

@@ -460,6 +460,7 @@ def send_subscription_add_events(
can_add_subscribers_group=stream_dict["can_add_subscribers_group"],
can_administer_channel_group=stream_dict["can_administer_channel_group"],
can_delete_any_message_group=stream_dict["can_delete_any_message_group"],
can_delete_own_message_group=stream_dict["can_delete_own_message_group"],
can_move_messages_out_of_channel_group=stream_dict[
"can_move_messages_out_of_channel_group"
],