mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-07 12:14:10 +01: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:
|
||||
|
||||
- `content.body` in [`m.room.message`](#mroommessage)
|
||||
- `content.name` in [`m.room.name`](#mroomname)
|
||||
- `content.topic` as well as the `body` of the `text/plain` representation
|
||||
in [`m.room.topic`](#mroomtopic)
|
||||
- `content.body` in [`m.room.message`](/client-server-api/#mroommessage)
|
||||
- `content.name` in [`m.room.name`](/client-server-api/#mroomname)
|
||||
- In [`m.room.topic`](/client-server-api/#mroomtopic), `content.topic`
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -109,17 +109,17 @@ paths:
|
|||
name:
|
||||
type: string
|
||||
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.
|
||||
This overwrites any [`m.room.name`](#mroomname) event in
|
||||
`initial_state`.
|
||||
This overwrites any [`m.room.name`](/client-server-api/#mroomname)
|
||||
event in `initial_state`.
|
||||
topic:
|
||||
type: string
|
||||
description: |-
|
||||
If this is included, an [`m.room.topic`](#mroomtopic) event
|
||||
with a `text/plain` mimetype will be sent into the room to
|
||||
indicate the topic for the room. This overwrites any
|
||||
[`m.room.topic`](#mroomtopic) event in `initial_state`.
|
||||
If this is included, an [`m.room.topic`](/client-server-api/#mroomtopic)
|
||||
event with a `text/plain` mimetype will be sent into the room
|
||||
to indicate the topic for the room. This overwrites any
|
||||
[`m.room.topic`](/client-server-api/#mroomtopic) event in `initial_state`.
|
||||
invite:
|
||||
type: array
|
||||
description: |-
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ properties:
|
|||
topic:
|
||||
type: string
|
||||
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).
|
||||
example: "All things general"
|
||||
world_readable:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ items:
|
|||
The string content.
|
||||
|
||||
Clients SHOULD validate and sanitize the content as they do
|
||||
for rich content associated with [`msgtype`](#mroommessage-msgtypes)
|
||||
of [`m.room.message`](#mroommessage).
|
||||
for rich content associated with [`msgtype`](/client-server-api/#mroommessage-msgtypes)
|
||||
of [`m.room.message`](/client-server-api/#mroommessage).
|
||||
required:
|
||||
- body
|
||||
|
|
|
|||
Loading…
Reference in a new issue