👔 Exclude fediverse content in highlight post

This commit is contained in:
2026-01-13 23:23:14 +08:00
parent 28a13f7baf
commit 5a99665e4e

View File

@@ -1021,6 +1021,7 @@ public partial class PostService(
var postsInPeriod = await db.Posts
.Where(e => e.Visibility == Shared.Models.PostVisibility.Public)
.Where(e => e.CreatedAt >= periodStart && e.CreatedAt < periodEnd)
.Where(e => e.FediverseUri == null)
.Select(e => e.Id)
.ToListAsync();