[COMPONENT][Avatar][Controller] Implement multiple dimensions

This commit is contained in:
2021-12-27 04:47:04 +00:00
parent 2a902d6a7e
commit de148c1f78
5 changed files with 29 additions and 21 deletions

View File

@@ -252,7 +252,7 @@ class Note extends Entity
return Actor::getFullnameById($this->actor_id);
}
public function getActorAvatarUrl(string $size = 'full'): string
public function getActorAvatarUrl(string $size = 'medium'): string
{
return Avatar::getUrl($this->getActorId(), $size);
}