Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
refactor: Make acting_user a mandatory kwarg for do_change_avatar_fields.
shanukun2d336d38b9e7
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.pyindex 249158cd1db..a00f9437675 100644--- a/zerver/lib/actions.py+++ b/zerver/lib/actions.py@@ -3984,7 +3984,8 @@ def do_change_avatar_fields(user_profile: UserProfile,avatar_source: str,skip_notify: bool = False,- acting_user: Optional[UserProfile] = None,+ *,+ acting_user: Optional[UserProfile],) -> None:user_profile.avatar_source = avatar_sourceuser_profile.avatar_version += 1