mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
refactor: Make acting_user a mandatory kwarg for do_change_default_all_public_streams.
This commit is contained in:
@@ -4196,7 +4196,7 @@ def do_change_default_events_register_stream(
|
||||
|
||||
|
||||
def do_change_default_all_public_streams(
|
||||
user_profile: UserProfile, value: bool, acting_user: Optional[UserProfile] = None
|
||||
user_profile: UserProfile, value: bool, *, acting_user: Optional[UserProfile]
|
||||
) -> None:
|
||||
old_value = user_profile.default_all_public_streams
|
||||
user_profile.default_all_public_streams = value
|
||||
|
||||
Reference in New Issue
Block a user