Update engine
- Disables WIP verification events from being captured - Rename reject room
This commit is contained in:
parent
aab0d469ea
commit
339631dccd
|
@ -1 +1 @@
|
|||
Subproject commit 44d8108649e0f63f2745e9f576f1095a9a0c61ca
|
||||
Subproject commit 04178168e2107c8a11d8259d7cb3be499f55f30c
|
|
@ -73,7 +73,7 @@ fun profileReducer(
|
|||
},
|
||||
|
||||
sideEffect(ProfileAction.RejectRoomInvite::class) { action, _ ->
|
||||
kotlin.runCatching { chatEngine.rejectJoinRoom(action.roomId) }.fold(
|
||||
kotlin.runCatching { chatEngine.rejectRoom(action.roomId) }.fold(
|
||||
onFailure = { errorTracker.track(it) },
|
||||
onSuccess = {}
|
||||
)
|
||||
|
|
|
@ -93,7 +93,7 @@ class ProfileReducerTest {
|
|||
|
||||
@Test
|
||||
fun `when RejectRoomInvite, then rejects room`() = runReducerTest {
|
||||
fakeChatEngine.expect { it.rejectJoinRoom(A_ROOM_ID) }
|
||||
fakeChatEngine.expect { it.rejectRoom(A_ROOM_ID) }
|
||||
|
||||
reduce(ProfileAction.RejectRoomInvite(A_ROOM_ID))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue