Remove JoinRule.Private from the codebase (#6129)
It shouldn't be in use, since it was never properly defined: - The `Private` values coming from the SDK are considered to be `Invite` instead. - Remove any existing `JoinRule.Private` usages in our code.
This commit is contained in:
committed by
GitHub
parent
4fe7463679
commit
5175bacb5e
@@ -582,7 +582,7 @@ class RoomDetailsPresenterTest {
|
||||
assertThat(awaitItem().canShowKnockRequests).isFalse()
|
||||
featureFlagService.setFeatureEnabled(FeatureFlags.Knock, true)
|
||||
assertThat(awaitItem().canShowKnockRequests).isTrue()
|
||||
room.givenRoomInfo(aRoomInfo(joinRule = JoinRule.Private))
|
||||
room.givenRoomInfo(aRoomInfo(joinRule = JoinRule.Invite))
|
||||
assertThat(awaitItem().canShowKnockRequests).isFalse()
|
||||
cancelAndIgnoreRemainingEvents()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user