mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Clarify tolerance requirements
This commit is contained in:
parent
04a0e0eecd
commit
13d32bda1a
|
|
@ -29,9 +29,13 @@ SHOULD limit the length of the `recent_emoji` array by dropping elements from
|
||||||
its end. A RECOMMENDED maximum length is 100 emoji.
|
its end. A RECOMMENDED maximum length is 100 emoji.
|
||||||
|
|
||||||
To enable future extension, clients MUST tolerate and preserve array elements
|
To enable future extension, clients MUST tolerate and preserve array elements
|
||||||
within `recent_emoji` that they don't understand or support. This means ignoring
|
within `recent_emoji` regardless of whether they understand or support the
|
||||||
the entries when deciding what to display to the user while retaining them when
|
contained `emoji` value. This means ignoring entries with unrecognised values
|
||||||
|
of `emoji` when deciding what to display to the user while retaining them when
|
||||||
modifying the array (unless the modification is for truncation).
|
modifying the array (unless the modification is for truncation).
|
||||||
|
|
||||||
|
To prevent undefined behavior, clients SHOULD remove array elements that
|
||||||
|
don't conform to the event schema such as elements with negative counters.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue