mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
refactor: Make acting_user a mandatory kwarg for do_set_realm_notifications_stream.
This commit is contained in:
@@ -908,10 +908,7 @@ def do_set_realm_message_editing(
|
||||
|
||||
|
||||
def do_set_realm_notifications_stream(
|
||||
realm: Realm,
|
||||
stream: Optional[Stream],
|
||||
stream_id: int,
|
||||
acting_user: Optional[UserProfile] = None,
|
||||
realm: Realm, stream: Optional[Stream], stream_id: int, *, acting_user: Optional[UserProfile]
|
||||
) -> None:
|
||||
old_value = realm.notifications_stream_id
|
||||
realm.notifications_stream = stream
|
||||
|
||||
Reference in New Issue
Block a user