Update proposals/4354-sticky-events.md

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
kegan/persist-edu
Kegan Dougal 3 months ago committed by GitHub
parent 33ec282c3f
commit 7725f74d04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -37,6 +37,8 @@ This new primitive can be used to implement MatrixRTC participation, live locati
Message events can be annotated with a new top-level `sticky` key, which MUST have a `duration_ms`, Message events can be annotated with a new top-level `sticky` key, which MUST have a `duration_ms`,
which is the number of milliseconds for the event to be sticky. The presence of `sticky.duration_ms` which is the number of milliseconds for the event to be sticky. The presence of `sticky.duration_ms`
with a valid value makes the event “sticky”[^stickyobj]. Valid values are the integer range 0-3600000 (1 hour). with a valid value makes the event “sticky”[^stickyobj]. Valid values are the integer range 0-3600000 (1 hour).
For use cases that require stickiness beyond this limit, the application is responsible for sending another
event to make it happen.
```json ```json
{ {

Loading…
Cancel
Save