mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-29 21:59:40 +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:
commit
1fcfec6a94
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ export default class ReplyThread extends React.Component {
|
|||
}
|
||||
|
||||
async getEvent(eventId) {
|
||||
if (!eventId) return null;
|
||||
const event = this.room.findEventById(eventId);
|
||||
if (event) return event;
|
||||
|
||||
|
|
Loading…
Reference in a new issue