Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants
This commit is contained in:
parent
0ed40c562d
commit
a8ffe46d99
16 changed files with 230 additions and 164 deletions
|
|
@ -1236,7 +1236,7 @@ class MessagesPresenterTest {
|
|||
) = FakeRoomPermissions(
|
||||
canSendState = { type ->
|
||||
when (type) {
|
||||
StateEventType.CALL_MEMBER -> canStartCall
|
||||
StateEventType.CallMember -> canStartCall
|
||||
else -> lambdaError()
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue