Provide real user and posts data for the thinking

This commit is contained in:
2025-10-25 17:58:58 +08:00
parent 40325c6df5
commit 93f7dfd379
17 changed files with 898 additions and 72 deletions

View File

@@ -11,7 +11,7 @@ namespace DysonNetwork.Sphere.Publisher;
public class PublisherSubscriptionService(
AppDatabase db,
PostService ps,
Post.PostService ps,
IStringLocalizer<NotificationResource> localizer,
ICacheService cache,
RingService.RingServiceClient pusher,
@@ -54,7 +54,7 @@ public class PublisherSubscriptionService(
{
if (post.RepliedPostId is not null)
return 0;
if (post.Visibility != PostVisibility.Public)
if (post.Visibility != Shared.Models.PostVisibility.Public)
return 0;
// Create notification data