From 3519282a03720a37e41bd837f17dbb5d6ed8a332 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Mon, 21 Jun 2021 10:34:58 -0400 Subject: [PATCH] Update navToRoom --- app/views/RoomView/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 13de89c87..9d2c0c540 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -856,10 +856,10 @@ class RoomView extends React.Component { } navToRoom = async(message) => { - const { navigation, isMasterDetail } = this.props; + const { isMasterDetail } = this.props; const roomInfo = await getRoomInfo(message.rid); return goRoom({ - item: roomInfo, isMasterDetail, navigationMethod: navigation.push, jumpToMessageId: message.id + item: roomInfo, isMasterDetail, jumpToMessageId: message.id }); }