minor tweak

This commit is contained in:
AlexAlexandre 2021-12-15 00:58:11 -03:00
parent 09a8254813
commit 18b2f3388d
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ class RoomView extends React.Component<IRoomViewProps, any> {
navToRoom = async (message: { rid: string; id: string }) => {
const { navigation, isMasterDetail } = this.props;
const roomInfo: any = await getRoomInfo(message.rid);
const roomInfo = (await getRoomInfo(message.rid)) as IRoom;
return goRoom({
item: roomInfo,
isMasterDetail,