You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Merge pull request #6209 from matrix-org/jryans/nested-reply-perf-release
[Release] Stop requesting null next replies from the server
This commit is contained in:
@@ -297,6 +297,7 @@ export default class ReplyThread extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getEvent(eventId) {
|
async getEvent(eventId) {
|
||||||
|
if (!eventId) return null;
|
||||||
const event = this.room.findEventById(eventId);
|
const event = this.room.findEventById(eventId);
|
||||||
if (event) return event;
|
if (event) return event;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user