mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 20:38:40 +00:00
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
0ed40c562d
commit
a8ffe46d99
+1
-1
@@ -1236,7 +1236,7 @@ class MessagesPresenterTest {
|
||||
) = FakeRoomPermissions(
|
||||
canSendState = { type ->
|
||||
when (type) {
|
||||
StateEventType.CALL_MEMBER -> canStartCall
|
||||
StateEventType.CallMember -> canStartCall
|
||||
else -> lambdaError()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user