upload: Remove redundant acting_user_profile argument.

This argument, effectively added in 9eb47f108c, was never actually
used.
This commit is contained in:
Alex Vandiver
2024-06-25 21:27:26 +00:00
committed by Tim Abbott
parent 41d1b417e7
commit 08b24484d1
11 changed files with 15 additions and 16 deletions

View File

@@ -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: