-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Is your suggestion related to a problem? Please describe.
MSC2762 just introduced new API's that allow widgets to read events from the room where the widget is located.
Unfortunately the current implementation caps the amount of events returned to an arbitrary amount 25 for room evens and 100 for state events
Describe the solution you'd like.
We would like to be able to read all events of a certain type by removing those arbitrary limits.
Describe alternatives you've considered.
A paging feature could be implemented to load events in batches.
Additional context
Let's say you want to implement a poll widget where the poll is described by a custom state event and the votes are represented by custom room events. In this case the widget needs to be able to collect all vote events that exist in the room to sum up the results of the poll.
Another use-case would be to read all members (100+) from a large community room to implement a user selector in a widget.