Fix infinite loading when deeplinking to thread
This commit is contained in:
parent
6157a298eb
commit
89db5c4ed9
|
@ -1188,6 +1188,11 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
|||
if ('id' in item && item.t === E2E_MESSAGE_TYPE && item.e2e !== E2E_STATUS.DONE) {
|
||||
name = I18n.t('Encrypted_message');
|
||||
}
|
||||
if (!jumpToMessageId) {
|
||||
setTimeout(() => {
|
||||
sendLoadingEvent({ visible: false });
|
||||
}, 300);
|
||||
}
|
||||
return navigation.push('RoomView', {
|
||||
rid: this.rid,
|
||||
tmid: item.tmid,
|
||||
|
|
Loading…
Reference in New Issue