Fix comment add avatar when unlogged

pull/5098/head
Chocobozzz 2022-06-27 09:45:16 +02:00
parent 7fb45bdacb
commit b713976afb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -52,8 +52,9 @@ export class ActorAvatarComponent implements OnChanges {
}
get defaultAvatarUrl () {
if (this.account) return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
}
get avatarUrl () {