1
0
Fork 0

Use get_or_create_remote_user from get_public_key.

This commit is contained in:
Adam Kelly 2020-05-21 16:32:28 +01:00
parent 00bd8928b0
commit 17734940ac
3 changed files with 22 additions and 19 deletions

View file

@ -36,7 +36,8 @@ def get_or_create_remote_user(actor):
user.save()
avatar = get_avatar(data)
user.avatar.save(*avatar)
if avatar:
user.avatar.save(*avatar)
if user.fedireads_user:
get_remote_reviews(user)