[backend] Fix build
This commit is contained in:
parent
89079f09c7
commit
13f0f0e686
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class UserProfileMentionsResolver(ActivityPub.UserResolver userResolver,
|
|||
.Where(p => p is { Name: not null, Value: not null })
|
||||
.ToList() ?? [];
|
||||
|
||||
if (fields is not { Count: > 0 } && (actor.MkSummary ?? actor.Summary) == null) return [];
|
||||
if (fields is not { Count: > 0 } && (actor.MkSummary ?? actor.Summary) == null) return ([], []);
|
||||
var parsedFields = await fields.SelectMany<ASField, string?>(p => [p.Name, p.Value])
|
||||
.Select(async p => await MfmConverter.ExtractMentionsFromHtmlAsync(p))
|
||||
.AwaitAllAsync();
|
||||
|
|
Loading…
Add table
Reference in a new issue