[backend/core] Fix ResolveNoteMentionsAsync regression

This commit is contained in:
Laura Hausmann 2024-10-29 20:01:15 +01:00
parent e391aebce5
commit 912c50488f
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -1027,7 +1027,7 @@ public class NoteService(
.SelectMany(p => p.Children.Append(p))
.OfType<MfmMentionNode>()
.DistinctBy(p => p.Acct)
.Select(p => userResolver.ResolveOrNullAsync(p.Acct, ResolveFlags.Acct))
.Select(p => userResolver.ResolveOrNullAsync($"acct:{p.Acct}", ResolveFlags.Acct))
.AwaitAllNoConcurrencyAsync()
: [];