Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention notifying AS for sender_localpart events #1810

Merged
merged 2 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that appservices should be notified of events relating to the sender_localpart user.
11 changes: 7 additions & 4 deletions data/api/application-service/definitions/registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ properties:
description: A secret token that the homeserver will use authenticate requests to the application service.
sender_localpart:
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.
richvdh marked this conversation as resolved.
Show resolved Hide resolved
namespaces:
type: object
title: Namespaces
Expand All @@ -40,9 +42,10 @@ properties:
- $ref: namespace_list.yaml
- description: |-
A list of namespaces defining the user IDs that the application
service is interested in. Events will be sent to the AS if a
local user matching one of the namespaces is the target of the event,
or is a joined member of the room where the event occurred.
service is interested in, in addition to it's `sender_localpart`.
richvdh marked this conversation as resolved.
Show resolved Hide resolved
Events will be sent to the AS if a local user matching one of the
namespaces is the target of the event, or is a joined member of
the room where the event occurred.
rooms:
allOf:
- $ref: namespace_list.yaml
Expand Down