From 8e5b6ace451eae2b4d94a6ab0ba879230e605179 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 7 Jul 2025 13:08:31 +0800 Subject: [PATCH] :rewind: Skip subscribed check in message --- DysonNetwork.Sphere/Chat/ChatService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DysonNetwork.Sphere/Chat/ChatService.cs b/DysonNetwork.Sphere/Chat/ChatService.cs index 8e6daa3..1ff92ed 100644 --- a/DysonNetwork.Sphere/Chat/ChatService.cs +++ b/DysonNetwork.Sphere/Chat/ChatService.cs @@ -252,7 +252,7 @@ public partial class ChatService( if (member.Account.Id == sender.AccountId) continue; if (member.Notify == ChatMemberNotify.None) continue; - if (scopedWs.IsUserSubscribedToChatRoom(member.AccountId, room.Id.ToString())) continue; + // if (scopedWs.IsUserSubscribedToChatRoom(member.AccountId, room.Id.ToString())) continue; if (message.MembersMentioned is null || !message.MembersMentioned.Contains(member.Account.Id)) { var now = SystemClock.Instance.GetCurrentInstant(); @@ -575,4 +575,4 @@ public class SyncResponse { public List Changes { get; set; } = []; public Instant CurrentTimestamp { get; set; } -} \ No newline at end of file +}