Update navigation method
This commit is contained in:
parent
3519282a03
commit
1c0533a51e
|
@ -856,10 +856,10 @@ class RoomView extends React.Component {
|
|||
}
|
||||
|
||||
navToRoom = async(message) => {
|
||||
const { isMasterDetail } = this.props;
|
||||
const { navigation, isMasterDetail } = this.props;
|
||||
const roomInfo = await getRoomInfo(message.rid);
|
||||
return goRoom({
|
||||
item: roomInfo, isMasterDetail, jumpToMessageId: message.id
|
||||
item: roomInfo, isMasterDetail, navigationMethod: navigation.replace, jumpToMessageId: message.id
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue