diff --git a/DysonNetwork.Sphere/Chat/ChatService.cs b/DysonNetwork.Sphere/Chat/ChatService.cs index 028a8c4..60743e4 100644 --- a/DysonNetwork.Sphere/Chat/ChatService.cs +++ b/DysonNetwork.Sphere/Chat/ChatService.cs @@ -114,14 +114,13 @@ public class ChatService( List accountsToNotify = []; foreach (var member in members) { - if (member.Account.Id == sender.AccountId) continue; - scopedWs.SendPacketToAccount(member.AccountId, new WebSocketPacket { Type = type, Data = message }); + if (member.Account.Id == sender.AccountId) continue; accountsToNotify.Add(member.Account); }