Explicitly say how appservices should detect state events

Fixes https://github.com/matrix-org/matrix-doc/issues/1014
pull/977/head
Travis Ralston 6 years ago
parent f5dc0eaed2
commit 5b5b4cfbed

@ -32,6 +32,10 @@ paths:
description: |- description: |-
This API is called by the homeserver when it wants to push an event This API is called by the homeserver when it wants to push an event
(or batch of events) to the application service. (or batch of events) to the application service.
The application service should take care to ensure that it handles
state events by the presence of a ``state_key``, not by the event
type.
operationId: sendTransaction operationId: sendTransaction
parameters: parameters:
- in: path - in: path
@ -44,7 +48,7 @@ paths:
x-example: "35" x-example: "35"
- in: body - in: body
name: body name: body
description: A list of events description: A list of events.
schema: schema:
type: object type: object
example: { example: {

Loading…
Cancel
Save