diff --git a/DysonNetwork.Sphere/Publisher/PublisherSubscriptionService.cs b/DysonNetwork.Sphere/Publisher/PublisherSubscriptionService.cs index 8ce504b..562b2a2 100644 --- a/DysonNetwork.Sphere/Publisher/PublisherSubscriptionService.cs +++ b/DysonNetwork.Sphere/Publisher/PublisherSubscriptionService.cs @@ -51,6 +51,11 @@ public class PublisherSubscriptionService( /// The number of subscribers notified public async Task NotifySubscriberPost(Post.Post post) { + if (post.RepliedPostId is not null) + return 0; + if (post.Visibility != PostVisibility.Public) + return 0; + var subscribers = await db.PublisherSubscriptions .Where(p => p.PublisherId == post.PublisherId && p.Status == PublisherSubscriptionStatus.Active)