mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 21:14:09 +01:00
Apply suggestions from code review
Co-authored-by: Eric Eastwood <madlittlemods@gmail.com>
This commit is contained in:
parent
a344dfa20d
commit
a959df71c1
|
|
@ -81,13 +81,15 @@ namespaces:
|
|||
```
|
||||
|
||||
{{% boxes/note %}}
|
||||
Application services can only register interest in *local* users (i.e., users
|
||||
whose IDs end with the `server_name` of the local homeserver). Events affecting
|
||||
users on other homeservers are not sent to an application service, even if the
|
||||
user happens to match the one of the `users` namespaces (unless, of course, the
|
||||
event affects a room that the application service is interested in for another
|
||||
room - for example, because there is another user in the room that the
|
||||
For the `users` namespace, application services can only register interest in
|
||||
*local* users (i.e., users whose IDs end with the `server_name` of the local
|
||||
homeserver). Events affecting users on other homeservers are not sent to an application
|
||||
service, even if the user happens to match the one of the `users` namespaces (unless,
|
||||
of course, the event affects a room that the application service is interested in
|
||||
for another room - for example, because there is another user in the room that the
|
||||
application service is interested in).
|
||||
|
||||
For the `rooms` and `aliases` namespaces, all events in a matching room will be sent to the application service.
|
||||
{{% /boxes/note %}}
|
||||
|
||||
{{% boxes/warning %}}
|
||||
|
|
|
|||
|
|
@ -48,15 +48,15 @@ properties:
|
|||
- $ref: namespace_list.yaml
|
||||
- description: |-
|
||||
A list of namespaces defining the room IDs that the application
|
||||
service is interested in. Events will be sent to the AS if they
|
||||
take place in a room with an ID matching one of the namespaces.
|
||||
service is interested in. All events sent in a room with an ID
|
||||
which matches one of the namespaces will be sent to the AS.
|
||||
aliases:
|
||||
allOf:
|
||||
- $ref: namespace_list.yaml
|
||||
- description: |-
|
||||
A list of namespaces defining the room aliases that the application
|
||||
service is interested in. Events will be sent to the AS if they
|
||||
take place in a room with an alias matching one of the namespaces.
|
||||
service is interested in. All events sent in a room with an alias
|
||||
which matches one of the namespaces will be sent to the AS.
|
||||
rate_limited:
|
||||
type: boolean
|
||||
description: Whether requests from masqueraded users are rate-limited. The sender is excluded.
|
||||
|
|
|
|||
Loading…
Reference in a new issue