mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-27 21:04:09 +02:00
Compare commits
9 commits
760745bdc2
...
3dd4b40aed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dd4b40aed | ||
|
|
469f32821c | ||
|
|
e9e937ca56 | ||
|
|
a3f40730ed | ||
|
|
39edd64034 | ||
|
|
51a4bbc1d9 | ||
|
|
22a8066ed2 | ||
|
|
9a1495f869 | ||
|
|
8df093056f |
|
|
@ -26,10 +26,10 @@ on certain keys of certain event types.
|
||||||
|
|
||||||
The supported keys to search over are:
|
The supported keys to search over are:
|
||||||
|
|
||||||
- `content.body` in [`m.room.message`](#mroommessage)
|
- `content.body` in [`m.room.message`](/client-server-api/#mroommessage)
|
||||||
- `content.name` in [`m.room.name`](#mroomname)
|
- `content.name` in [`m.room.name`](/client-server-api/#mroomname)
|
||||||
- `content.topic` as well as the `body` of the `text/plain` representation
|
- In [`m.room.topic`](/client-server-api/#mroomtopic), `content.topic`
|
||||||
in [`m.room.topic`](#mroomtopic)
|
as well as the `body` of the `text/plain` representation in `content['m.topic']`.
|
||||||
|
|
||||||
The search will *not* include rooms that are end to end encrypted.
|
The search will *not* include rooms that are end to end encrypted.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,17 +109,17 @@ paths:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
If this is included, an [`m.room.name`](#mroomname) event
|
If this is included, an [`m.room.name`](/client-server-api/#mroomname) event
|
||||||
will be sent into the room to indicate the name for the room.
|
will be sent into the room to indicate the name for the room.
|
||||||
This overwrites any [`m.room.name`](#mroomname) event in
|
This overwrites any [`m.room.name`](/client-server-api/#mroomname)
|
||||||
`initial_state`.
|
event in `initial_state`.
|
||||||
topic:
|
topic:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
If this is included, an [`m.room.topic`](#mroomtopic) event
|
If this is included, an [`m.room.topic`](/client-server-api/#mroomtopic)
|
||||||
with a `text/plain` mimetype will be sent into the room to
|
event with a `text/plain` mimetype will be sent into the room
|
||||||
indicate the topic for the room. This overwrites any
|
to indicate the topic for the room. This overwrites any
|
||||||
[`m.room.topic`](#mroomtopic) event in `initial_state`.
|
[`m.room.topic`](/client-server-api/#mroomtopic) event in `initial_state`.
|
||||||
invite:
|
invite:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ properties:
|
||||||
topic:
|
topic:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The plaintext topic of the room. Omitted if no `text/plain` mimetype
|
The plain text topic of the room. Omitted if no `text/plain` mimetype
|
||||||
exists in [`m.room.topic`](/client-server-api/#mroomtopic).
|
exists in [`m.room.topic`](/client-server-api/#mroomtopic).
|
||||||
example: "All things general"
|
example: "All things general"
|
||||||
world_readable:
|
world_readable:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ items:
|
||||||
The string content.
|
The string content.
|
||||||
|
|
||||||
Clients SHOULD validate and sanitize the content as they do
|
Clients SHOULD validate and sanitize the content as they do
|
||||||
for rich content associated with [`msgtype`](#mroommessage-msgtypes)
|
for rich content associated with [`msgtype`](/client-server-api/#mroommessage-msgtypes)
|
||||||
of [`m.room.message`](#mroommessage).
|
of [`m.room.message`](/client-server-api/#mroommessage).
|
||||||
required:
|
required:
|
||||||
- body
|
- body
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue