mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
upload: Remove redundant acting_user_profile argument.
This argument, effectively added in 9eb47f108c
, was never actually
used.
This commit is contained in:
committed by
Tim Abbott
parent
41d1b417e7
commit
08b24484d1
@@ -37,7 +37,7 @@ From image editing program:
|
||||
|
||||
def set_avatar(self, user: UserProfile, filename: str) -> None:
|
||||
with open(filename, "rb") as f:
|
||||
upload_avatar_image(f, user, user)
|
||||
upload_avatar_image(f, user)
|
||||
do_change_avatar_fields(user, UserProfile.AVATAR_FROM_USER, acting_user=None)
|
||||
|
||||
def add_message_formatting_conversation(self) -> None:
|
||||
|
Reference in New Issue
Block a user