Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
63d205f8aa
commit
75f8c4f594
@@ -230,7 +230,7 @@ class RoomCallStatePresenterTest {
|
||||
return FakeRoomPermissions(
|
||||
canSendState = { stateEvent ->
|
||||
when (stateEvent) {
|
||||
StateEventType.CALL_MEMBER -> canJoinCall
|
||||
StateEventType.CallMember -> canJoinCall
|
||||
else -> lambdaError()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user