mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-28 13:24:10 +02:00
Compare commits
3 commits
b22a8d191d
...
79c9d9d1ed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79c9d9d1ed | ||
|
|
cb31a6828b | ||
|
|
aeb87446be |
|
|
@ -2621,8 +2621,6 @@ An example of the capability API's response for this capability is:
|
||||||
|
|
||||||
### `m.forget_forced_upon_leave` capability
|
### `m.forget_forced_upon_leave` capability
|
||||||
|
|
||||||
{{% added-in v="1.18" %}}
|
|
||||||
|
|
||||||
This capability has a single flag, `enabled`, which indicates whether or
|
This capability has a single flag, `enabled`, which indicates whether or
|
||||||
not the server automatically forgets rooms which the user has left.
|
not the server automatically forgets rooms which the user has left.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@ paths:
|
||||||
$ref: '#/components/schemas/booleanCapability'
|
$ref: '#/components/schemas/booleanCapability'
|
||||||
description: Capability to indicate if the user can change their password.
|
description: Capability to indicate if the user can change their password.
|
||||||
m.forget_forced_upon_leave:
|
m.forget_forced_upon_leave:
|
||||||
x-addedInMatrixVersion: "1.18"
|
|
||||||
$ref: '#/components/schemas/booleanCapability'
|
$ref: '#/components/schemas/booleanCapability'
|
||||||
description: |-
|
description: |-
|
||||||
Capability to indicate if the server automatically forgets rooms once the user
|
Capability to indicate if the server automatically forgets rooms once the user
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@ paths:
|
||||||
"/rooms/{roomId}/leave":
|
"/rooms/{roomId}/leave":
|
||||||
post:
|
post:
|
||||||
summary: Stop the requesting user participating in a particular room.
|
summary: Stop the requesting user participating in a particular room.
|
||||||
|
x-changedInMatrixVersion:
|
||||||
|
"1.18": |-
|
||||||
|
Servers may additionally forget the room provided that they make this behavior
|
||||||
|
transparent.
|
||||||
description: |-
|
description: |-
|
||||||
This API stops a user participating in a particular room.
|
This API stops a user participating in a particular room.
|
||||||
|
|
||||||
|
|
@ -28,15 +32,16 @@ paths:
|
||||||
|
|
||||||
If the user was invited to the room, but had not joined, this call
|
If the user was invited to the room, but had not joined, this call
|
||||||
serves to reject the invite.
|
serves to reject the invite.
|
||||||
x-changedInMatrixVersion:
|
|
||||||
"1.18": |
|
Servers MAY additionally forget the room when this endpoint is called –
|
||||||
Servers MAY additionally forget the room when this endpoint is called –
|
just as if the user had also invoked [`/forget`](/client-server-api/#post_matrixclientv3roomsroomidforget).
|
||||||
just as if the user had also invoked [`/forget`](/client-server-api/#post_matrixclientv3roomsroomidforget).
|
Servers that do this, MUST inform clients about this behavior using the
|
||||||
Servers that do this, MUST inform clients about this behavior using the
|
[`m.forget_forced_upon_leave`](/client-server-api/#mforget_forced_upon_leave-capability)
|
||||||
[`m.forget_forced_upon_leave`](/client-server-api/#mforget_forced_upon_leave-capability)
|
capability.
|
||||||
capability. If the server doesn't automatically forget the room, the user
|
|
||||||
will still be allowed to retrieve history from the room which they were
|
If the server doesn't automatically forget the room, the user will still be
|
||||||
previously allowed to see.
|
allowed to retrieve history from the room which they were previously allowed
|
||||||
|
to see.
|
||||||
operationId: leaveRoom
|
operationId: leaveRoom
|
||||||
security:
|
security:
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue