mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-01 20:01:19 +02: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
@ -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…
x
Reference in New Issue
Block a user