🐛 Fix subscribe

This commit is contained in:
2025-09-27 23:00:04 +08:00
parent 6ed6f60fbc
commit 0f1c52b9e3

View File

@@ -102,6 +102,7 @@ class ChatSubscribeNotifier extends _$ChatSubscribeNotifier {
WebSocketPacket( WebSocketPacket(
type: 'messages.unsubscribe', type: 'messages.unsubscribe',
data: {'chat_room_id': roomId}, data: {'chat_room_id': roomId},
endpoint: 'sphere',
), ),
), ),
); );
@@ -113,6 +114,7 @@ class ChatSubscribeNotifier extends _$ChatSubscribeNotifier {
WebSocketPacket( WebSocketPacket(
type: 'messages.subscribe', type: 'messages.subscribe',
data: {'chat_room_id': roomId}, data: {'chat_room_id': roomId},
endpoint: 'sphere',
), ),
), ),
); );