Filter out flood of hidden events when we detect the scrollback is full of it #22080
Labels
A-Location-Sharing
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Z-Labs
Your use case
What would you like to do?
Element Web doesn't handle Location streams well if there are no non-hidden events filling the vertical timeline.
I have a room in which I often leave my location stream bot running for hours at a 2 second interval. When I come back it has 3000+ hidden location events that bring Element Web to its knees. Element keeps requesting more events from the homeserver until the vertical browser view is filled with visible events. Usually this means that roughtly 30 events have to be loaded, but when there are 1000s of hidden events in the room's history it takes a very long time until the room is usable and it might fill up the RAM or cause you to get ratelimited.
Join at your own risk: Geo Tracker: Test room
This is similar to element-hq/element-meta#491 but with regular events that Element decides to hide.
Why would you like to do it?
If Element detects that the room history is full of hidden events, e.g.
m.beacon
, it may decide to not request these from the home`server.How would you like to achieve it?
Can Element ask to exclude certain events types when asking for more messages?
Have you considered any alternatives?
m.beacon
events could become an "edit" their previous event.Additional context
No response
The text was updated successfully, but these errors were encountered: