wip
This commit is contained in:
parent
c335a44327
commit
7b615f1924
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ public class User : IEntity
|
|||
public string GetIdenticonUrl(string webDomain) => $"https://{webDomain}{IdenticonUrlPath}";
|
||||
|
||||
public string GetAvatarUrl(Config.InstanceSection config)
|
||||
=> $"https://{config.WebDomain}/avatars/{Id}/{AvatarId ?? "identicon"}";
|
||||
=> $"https://{config.WebDomain}/avatars/{Id}/{AvatarId ?? "identicon.png"}";
|
||||
|
||||
public string? GetBannerUrl(Config.InstanceSection config)
|
||||
=> BannerId != null ? $"https://{config.WebDomain}/banners/{Id}/{BannerId}" : null;
|
||||
|
|
Loading…
Add table
Reference in a new issue