mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
Clarify what key content-specific rules match against.
This commit is contained in:
parent
71b2235868
commit
cbd50af405
|
|
@ -156,7 +156,7 @@ The different `kind`s of rule, in the order that they are checked, are:
|
||||||
These configure behaviour for (unencrypted) messages that match certain
|
These configure behaviour for (unencrypted) messages that match certain
|
||||||
patterns. Content rules take one parameter: `pattern`, that gives the
|
patterns. Content rules take one parameter: `pattern`, that gives the
|
||||||
glob pattern to match against. This is treated in the same way as
|
glob pattern to match against. This is treated in the same way as
|
||||||
`pattern` for `event_match`.
|
`pattern` for `event_match` against a `key` of `content.body`.
|
||||||
|
|
||||||
1. **Room-specific rules (`room`).**
|
1. **Room-specific rules (`room`).**
|
||||||
These rules change the behaviour of all messages for a given room. The
|
These rules change the behaviour of all messages for a given room. The
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue