mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +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 %}}
|
{{% boxes/note %}}
|
||||||
Application services can only register interest in *local* users (i.e., users
|
For the `users` namespace, application services can only register interest in
|
||||||
whose IDs end with the `server_name` of the local homeserver). Events affecting
|
*local* users (i.e., users whose IDs end with the `server_name` of the local
|
||||||
users on other homeservers are not sent to an application service, even if the
|
homeserver). Events affecting users on other homeservers are not sent to an application
|
||||||
user happens to match the one of the `users` namespaces (unless, of course, the
|
service, even if the user happens to match the one of the `users` namespaces (unless,
|
||||||
event affects a room that the application service is interested in for another
|
of course, the event affects a room that the application service is interested in
|
||||||
room - for example, because there is another user in the room that the
|
for another room - for example, because there is another user in the room that the
|
||||||
application service is interested in).
|
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/note %}}
|
||||||
|
|
||||||
{{% boxes/warning %}}
|
{{% boxes/warning %}}
|
||||||
|
|
|
||||||
|
|
@ -48,15 +48,15 @@ properties:
|
||||||
- $ref: namespace_list.yaml
|
- $ref: namespace_list.yaml
|
||||||
- description: |-
|
- description: |-
|
||||||
A list of namespaces defining the room IDs that the application
|
A list of namespaces defining the room IDs that the application
|
||||||
service is interested in. Events will be sent to the AS if they
|
service is interested in. All events sent in a room with an ID
|
||||||
take place in a room with an ID matching one of the namespaces.
|
which matches one of the namespaces will be sent to the AS.
|
||||||
aliases:
|
aliases:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: namespace_list.yaml
|
- $ref: namespace_list.yaml
|
||||||
- description: |-
|
- description: |-
|
||||||
A list of namespaces defining the room aliases that the application
|
A list of namespaces defining the room aliases that the application
|
||||||
service is interested in. Events will be sent to the AS if they
|
service is interested in. All events sent in a room with an alias
|
||||||
take place in a room with an alias matching one of the namespaces.
|
which matches one of the namespaces will be sent to the AS.
|
||||||
rate_limited:
|
rate_limited:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether requests from masqueraded users are rate-limited. The sender is excluded.
|
description: Whether requests from masqueraded users are rate-limited. The sender is excluded.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue