mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-24 00:38:31 +08:00
update comment
This commit is contained in:
parent
3b272181ae
commit
7a05ad9f79
@ -133,7 +133,7 @@ export const ReactionsProvider = ({
|
|||||||
EventType.Reaction,
|
EventType.Reaction,
|
||||||
);
|
);
|
||||||
let allEvents = relations?.getRelations() ?? [];
|
let allEvents = relations?.getRelations() ?? [];
|
||||||
// We might not have synced this far.
|
// If we found no relations for this event, fetch via fetchRelations.
|
||||||
if (allEvents.length === 0) {
|
if (allEvents.length === 0) {
|
||||||
const res = await room.client.fetchRelations(
|
const res = await room.client.fetchRelations(
|
||||||
room.roomId,
|
room.roomId,
|
||||||
|
Loading…
Reference in New Issue
Block a user