[backend/masto-client] Fix mentions acct in timeline views

This commit is contained in:
Laura Hausmann 2024-02-12 06:25:45 +01:00
parent a8f174f02a
commit 72066a576a
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -80,7 +80,7 @@ public class NoteRenderer(
.Select(u => new Mention {
Id = u.Id,
Username = u.Username,
Acct = u.AcctWithPrefix,
Acct = u.Acct,
Url = u.UserProfile != null
? u.UserProfile.Url ?? u.Uri ?? $"https://{config.Value.WebDomain}/@{u.Username}"
: u.Uri ?? $"https://{config.Value.WebDomain}/@{u.Username}"