🐛 Fix outbox issue in activitypub

This commit is contained in:
2025-12-31 23:46:25 +08:00
parent f49f17a9db
commit 0ec49787fb

View File

@@ -142,7 +142,6 @@ public class ActivityPubController(
var outboxUrl = $"{actorUrl}/outbox";
var postsQuery = db.Posts
.Include(p => p.Attachments)
.Where(p => p.PublisherId == publisher.Id && p.Visibility == PostVisibility.Public);
var totalItems = await postsQuery.CountAsync();