Update engine

- Disables WIP verification events from being captured
- Rename reject room
This commit is contained in:
Adam Brown 2023-01-07 12:28:06 +00:00
parent aab0d469ea
commit 339631dccd
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 44d8108649e0f63f2745e9f576f1095a9a0c61ca Subproject commit 04178168e2107c8a11d8259d7cb3be499f55f30c

View File

@ -73,7 +73,7 @@ fun profileReducer(
}, },
sideEffect(ProfileAction.RejectRoomInvite::class) { action, _ -> sideEffect(ProfileAction.RejectRoomInvite::class) { action, _ ->
kotlin.runCatching { chatEngine.rejectJoinRoom(action.roomId) }.fold( kotlin.runCatching { chatEngine.rejectRoom(action.roomId) }.fold(
onFailure = { errorTracker.track(it) }, onFailure = { errorTracker.track(it) },
onSuccess = {} onSuccess = {}
) )

View File

@ -93,7 +93,7 @@ class ProfileReducerTest {
@Test @Test
fun `when RejectRoomInvite, then rejects room`() = runReducerTest { 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)) reduce(ProfileAction.RejectRoomInvite(A_ROOM_ID))
} }