matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
186 stars 94 forks source link

/send/toDevice should support TTL. #1394

Open ara4n opened 1 year ago

ara4n commented 1 year ago

Most to-device messages (e.g. keyshare reqs, voip messaging) have finite lifetime, and we should specify that so that servers can expunge them and stop them from accumulating forever c.f. https://github.com/matrix-org/synapse/issues/3599.

The only ones we can't are m.room.encrypted (setting up olm and sharing room keys).

richvdh commented 1 year ago

related: https://github.com/matrix-org/matrix-spec-proposals/pull/3944