mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-02 12:17:47 +02:00
Update content/client-server-api/modules/image_packs.md
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
90157144d8
commit
4ffa319eee
|
|
@ -34,6 +34,7 @@ Where `ALPHA` and `DIGIT` are as defined in
|
|||
[RFC 5234](https://datatracker.ietf.org/doc/html/rfc5234). Shortcodes are
|
||||
case-sensitive. The length of a shortcode MUST NOT exceed 100 bytes.
|
||||
|
||||
{{% boxes/note %}}
|
||||
The `:` character is specifically excluded because it is widely used across messaging
|
||||
platforms as a delimiter for triggering emote search (for example, typing
|
||||
`:cat` to search for an emote named `cat`). The `/` character is excluded
|
||||
|
|
@ -41,6 +42,7 @@ because clients MAY use it to separate a shortcode from a pack name in
|
|||
completion UI (for example, `:cat/my_pack:`). Spaces are excluded to avoid
|
||||
ambiguity and common usability issues. This character set matches that used
|
||||
by Discord and Slack, simplifying bridging.
|
||||
{{% /boxes/note %}}
|
||||
|
||||
Homeservers MAY enforce this grammar when `m.room.image_pack` events are
|
||||
submitted by clients via
|
||||
|
|
|
|||
Loading…
Reference in a new issue