You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-25 17:02:04 +03:00
added another comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -127,6 +127,8 @@ export default class ReplyThread extends React.Component {
|
||||
// for a timeline with that event, but once it is loaded we can use findEventById to look up the ev map
|
||||
await this.context.matrixClient.getEventTimeline(room.getUnfilteredTimelineSet(), eventId);
|
||||
} catch (e) {
|
||||
// if it fails, capture the error and dump it because it'll make findEventById return false, which
|
||||
// captures a superset of errors.
|
||||
return null;
|
||||
}
|
||||
return room.findEventById(eventId);
|
||||
|
Reference in New Issue
Block a user