Fixes #2302 - Fix room messages coming in as push notifications when inside a room when entering it from the invites list

This commit is contained in:
Stefan Ceriu
2024-01-08 14:22:13 +02:00
parent 9a2966dacf
commit 08d0e785d6
2 changed files with 4 additions and 1 deletions
@@ -211,6 +211,8 @@ class UserSessionFlowCoordinatorStateMachine {
switch stateMachine.state { switch stateMachine.state {
case .roomList(let selectedRoomID): case .roomList(let selectedRoomID):
return roomID == selectedRoomID return roomID == selectedRoomID
case .invitesScreen(let selectedRoomID):
return roomID == selectedRoomID
default: default:
return false return false
} }
+1
View File
@@ -0,0 +1 @@
Fix room messages coming in as push notifications when inside a room when entering it from the invites list