element-hq / element-hq/element-web

`StopGapWidget#feedEvent` runs processing on events from every room

Open
#20,820 4 comments 0 reactions 0 assignees View on GitHub
A-Documentation A-Performance A-Widgets T-Task
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

`StopGapWidget#feedEvent` appears to track timeline positions, clone events, etc. for all rooms, even though nearly all widgets only care about the current room.

We should likely test at the beginning of the method to see whether this widget can actually receive events from a given room, and if not (the common case) abort early.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.