mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
refactor: Make acting_user a mandatory kwarg for do_set_realm_message_editing.
This commit is contained in:
@@ -859,7 +859,8 @@ def do_set_realm_message_editing(
|
||||
allow_message_editing: bool,
|
||||
message_content_edit_limit_seconds: int,
|
||||
allow_community_topic_editing: bool,
|
||||
acting_user: Optional[UserProfile] = None,
|
||||
*,
|
||||
acting_user: Optional[UserProfile],
|
||||
) -> None:
|
||||
old_values = dict(
|
||||
allow_message_editing=realm.allow_message_editing,
|
||||
|
||||
Reference in New Issue
Block a user