♻️ Refactor the notification service to use gorush as push service

This commit is contained in:
2025-06-01 01:04:20 +08:00
parent 7fa0dfdcad
commit a78e92a23a
14 changed files with 121 additions and 191 deletions

View File

@ -91,8 +91,7 @@ public class WebSocketController(WebSocketService ws, ILogger<WebSocketContext>
);
var packet = WebSocketPacket.FromBytes(buffer[..receiveResult.Count]);
if (packet is null) continue;
ws.HandlePacket(currentUser, connectionKey.DeviceId, packet, webSocket);
_ = ws.HandlePacket(currentUser, connectionKey.DeviceId, packet, webSocket);
}
}
catch (OperationCanceledException)