🐛 Fix function changes not fully applied

This commit is contained in:
2025-09-27 19:28:47 +08:00
parent 58a44e8af4
commit 909fe173c2

View File

@@ -284,7 +284,7 @@ public partial class ChatService(
var subscribedMemberIds = new List<Guid>();
foreach (var member in members)
{
if (await scopedCrs.IsSubscribedChatRoom(member.Id))
if (await scopedCrs.IsSubscribedChatRoom(member.ChatRoomId, member.Id))
subscribedMemberIds.Add(member.AccountId);
}
accountsToNotify = accountsToNotify.Where(a => !subscribedMemberIds.Contains(Guid.Parse(a.Id))).ToList();