[merge] Fix mismerge causing spaceless launch to not load any rooms
Change-Id: Idde4f17babde5522e853c0f0bd7fdba2ed6f946d
This commit is contained in:
parent
c43461e58f
commit
414881eb56
|
@ -97,9 +97,10 @@ class SpaceStateHandlerImpl @Inject constructor(
|
|||
from: SelectSpaceFrom,
|
||||
) {
|
||||
val activeSession = session ?: activeSessionHolder.getSafeActiveSession() ?: return
|
||||
val spaceToLeave = selectedSpaceDataSourceSc.currentValue?.orNull()?.first
|
||||
val currentValue = selectedSpaceDataSourceSc.currentValue?.orNull()
|
||||
val spaceToLeave = currentValue?.first
|
||||
val spaceToSet = spaceId?.let { activeSession.getRoomSummary(spaceId) }
|
||||
val sameSpaceSelected = spaceId == spaceToLeave?.roomId
|
||||
val sameSpaceSelected = currentValue != null && spaceId == spaceToLeave?.roomId
|
||||
|
||||
if (sameSpaceSelected) {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue