Remove Casbin package references, configurations, and unused imports across multiple files. This change simplifies the codebase by eliminating unnecessary dependencies and reducing complexity. ✨ add new chat features and improve message handling Introduce new chat features including message notifications, nicknames, and improved message handling. Enhance the WebSocket service to support new packet handlers and improve message delivery. 🗃️ add new migrations for chat-related changes Add new migrations to support the latest chat features, including changes to chat members, messages, and reactions. These migrations ensure the database schema is up-to-date with the latest code changes.
9 lines
258 B
C#
9 lines
258 B
C#
using System.Net.WebSockets;
|
|
|
|
namespace DysonNetwork.Sphere.Connection;
|
|
|
|
public interface IWebSocketPacketHandler
|
|
{
|
|
string PacketType { get; }
|
|
Task HandleAsync(Account.Account currentUser, string deviceId, WebSocketPacket packet, WebSocket socket);
|
|
} |