Fix auth rules clarity issues

This commit is contained in:
Travis Ralston 2022-06-07 17:14:50 -06:00
parent 47169fd74b
commit 1e2f4f651d

View file

@ -205,9 +205,9 @@ The rules are as follows:
`ban`, `redact`, `kick`, or `invite` in `content` are present and
not an integer, reject.
2. {{< added-in this="true" >}}
If any of the keys `users`, `events`, or `notifications` in `content`
are present and not a dictionary with string keys and values that
are integers, reject.
If any of the keys `events` or `notifications` in `content`
are present and not a dictionary with values that are integers,
reject.
3. If `users` key in `content` is not a dictionary with keys that
are valid user IDs with values that are integers, reject.
2. If there is no previous `m.room.power_levels` event in the room,