Skip to content

Commit

Permalink
Wrap lines to 120 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
alfogrillo committed May 29, 2023
1 parent a5f7d0e commit ebd68ff
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions proposals/4013-poll-history-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ The purpose of this MSC is to allow clients to quickly fetch all the polls in a

## Problem

Clients sometimes may want to access quickly to all the polls sent in a given room (similarly to how they may want to access all the media being sent in a room).
Today clients don’t have an efficient way to make such an operation. Clients that want to implement this feature for encrypted rooms on the status quo may need to backward paginate on the room’s timeline until all the polls are found or they reach the beginning of the timeline.
For unencrypted rooms the problem doesn't exist since clients can call the [messages API](https://spec.matrix.org/v1.6/client-server-api/#get_matrixclientv3roomsroomidmessages) filtering by event type (e.g. by `m.poll.start`).
Clients sometimes may want to access quickly to all the polls sent in a given room (similarly to how they may want to
access all the media being sent in a room).Today clients don’t have an efficient way to make such an operation.
Clients that want to implement this feature for encrypted rooms on the status quo may need to backward paginate on the
room’s timeline until all the polls are found or they reach the beginning of the timeline. For unencrypted rooms the
problem doesn't exist since clients can call the
[messages API](https://spec.matrix.org/v1.6/client-server-api/#get_matrixclientv3roomsroomidmessages)
filtering by event type (e.g. by `m.poll.start`).

## Proposal

Expand Down

0 comments on commit ebd68ff

Please sign in to comment.