mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
More correct filter (viewedRoom can return false on that compare in some cases)
This commit is contained in:
parent
bf131f76dc
commit
df84eb1d71
1 changed files with 2 additions and 1 deletions
|
|
@ -85,10 +85,11 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro
|
|||
(primarySmallWidgetRef.current?.roomId || backupSmallWidgetRef.current?.roomId) &&
|
||||
(skipLobby
|
||||
? activeClientWidget?.roomId &&
|
||||
//activeCallRoomId === activeClientWidget.roomId &&
|
||||
(activeClientWidget.roomId === primarySmallWidgetRef.current?.roomId ||
|
||||
activeClientWidget.roomId === backupSmallWidgetRef.current?.roomId)
|
||||
: viewedClientWidget?.roomId &&
|
||||
viewedRoomId === viewedClientWidget.roomId &&
|
||||
viewedCallRoomId === viewedClientWidget.roomId &&
|
||||
(viewedClientWidget.roomId === primarySmallWidgetRef.current?.roomId ||
|
||||
viewedClientWidget.roomId === backupSmallWidgetRef.current?.roomId))
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue