Mention notifying AS for sender_localpart events (#1810)
Signed-off-by: Matthias Ahouansou <matthias@ahouansou.cz>
This commit is contained in:
parent
2d18aac201
commit
eea3dfa969
2 changed files with 8 additions and 4 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify that appservices should be notified of events relating to the sender_localpart user.
|
|
@ -29,7 +29,9 @@ properties:
|
||||||
description: A secret token that the homeserver will use authenticate requests to the application service.
|
description: A secret token that the homeserver will use authenticate requests to the application service.
|
||||||
sender_localpart:
|
sender_localpart:
|
||||||
type: string
|
type: string
|
||||||
description: The localpart of the user associated with the application service.
|
description: |-
|
||||||
|
The localpart of the user associated with the application service. Events will be sent to the AS if this user is the target of the event, or
|
||||||
|
is a joined member of the room where the event occurred.
|
||||||
namespaces:
|
namespaces:
|
||||||
type: object
|
type: object
|
||||||
title: Namespaces
|
title: Namespaces
|
||||||
|
@ -40,9 +42,10 @@ properties:
|
||||||
- $ref: namespace_list.yaml
|
- $ref: namespace_list.yaml
|
||||||
- description: |-
|
- description: |-
|
||||||
A list of namespaces defining the user IDs that the application
|
A list of namespaces defining the user IDs that the application
|
||||||
service is interested in. Events will be sent to the AS if a
|
service is interested in, in addition to its `sender_localpart`.
|
||||||
local user matching one of the namespaces is the target of the event,
|
Events will be sent to the AS if a local user matching one of the
|
||||||
or is a joined member of the room where the event occurred.
|
namespaces is the target of the event, or is a joined member of
|
||||||
|
the room where the event occurred.
|
||||||
rooms:
|
rooms:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: namespace_list.yaml
|
- $ref: namespace_list.yaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue