💄 Redesign the video of the call

This commit is contained in:
2025-11-23 00:53:00 +08:00
parent a66c6ea654
commit 2c5f246c55
3 changed files with 193 additions and 105 deletions

View File

@@ -217,7 +217,9 @@ class CallNotifier extends _$CallNotifier {
Future<void> joinRoom(SnChatRoom room) async {
var roomId = room.id;
if (_roomId == roomId && _room != null) {
if (_roomId == roomId &&
_room != null &&
_room?.connectionState == lk.ConnectionState.connected) {
talker.info('[Call] Call skipped. Already has data');
return;
} else if (_room != null) {