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

View File

@ -211,6 +211,8 @@ class UserSessionFlowCoordinatorStateMachine {
switch stateMachine.state {
case .roomList(let selectedRoomID):
return roomID == selectedRoomID
case .invitesScreen(let selectedRoomID):
return roomID == selectedRoomID
default:
return false
}

1
changelog.d/2302.bugfix Normal file
View File

@ -0,0 +1 @@
Fix room messages coming in as push notifications when inside a room when entering it from the invites list