1
This commit is contained in:
@@ -103,6 +103,7 @@ class StuRoomVM extends ChangeNotifier {
|
||||
//启动连接
|
||||
await _ws.connect();
|
||||
//
|
||||
_sub?.cancel();
|
||||
_sub = _ws.stream.listen((msg) {
|
||||
//自习室人员变化,同时也设置房间是否开了
|
||||
if (msg.event == RoomEvent.changeUser) {
|
||||
|
||||
Reference in New Issue
Block a user