You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix permalink to unknown event crash (#7501)
This commit is contained in:
@ -190,7 +190,7 @@ export async function fetchInitialEvent(
|
|||||||
const eventData = await client.fetchRoomEvent(roomId, eventId);
|
const eventData = await client.fetchRoomEvent(roomId, eventId);
|
||||||
initialEvent = new MatrixEvent(eventData);
|
initialEvent = new MatrixEvent(eventData);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.warn("Could not find initial event: " + initialEvent.threadRootId);
|
logger.warn("Could not find initial event: " + eventId);
|
||||||
initialEvent = null;
|
initialEvent = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user