🐛 Bug fixes

This commit is contained in:
2025-09-20 16:29:45 +08:00
parent 9e4a58a8a0
commit 3710169f8c
12 changed files with 29 additions and 237 deletions

View File

@@ -25,7 +25,6 @@ public partial class PostService(
ILogger<PostService> logger,
FileService.FileServiceClient files,
FileReferenceService.FileReferenceServiceClient fileRefs,
RingService.RingServiceClient pusher,
PollService polls,
Publisher.PublisherService ps,
WebReaderService reader
@@ -943,7 +942,7 @@ public partial class PostService(
try
{
var sender = await accountsHelper.GetAccount(accountId);
var members = await pub.GetPublisherMembers(post.PublisherId);
var queryRequest = new GetAccountBatchRequest();
queryRequest.Id.AddRange(members.Select(m => m.AccountId.ToString()));
@@ -1015,4 +1014,4 @@ public static class PostQueryExtensions
(e.Publisher.AccountId != null && userFriends.Contains(e.Publisher.AccountId.Value)) ||
publishersId.Contains(e.PublisherId));
}
}
}