mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-08-05 07:27:52 +02:00
Compare commits
2 commits
126c3f0a49
...
c7ca7ae079
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7ca7ae079 | ||
|
|
4dcfa07215 |
|
|
@ -1564,11 +1564,11 @@ before inviting him.
|
||||||
Only room keys which were marked as "shareable" by the creator of the
|
Only room keys which were marked as "shareable" by the creator of the
|
||||||
encryption session should be shared with new users.
|
encryption session should be shared with new users.
|
||||||
|
|
||||||
When Alice wants to send a message in the room she shares with Bob, she first
|
When a user wants to send a message in an encrypted room, their client first
|
||||||
checks the [history visibility](#room-history-visibility) state of the
|
checks the [history visibility](#room-history-visibility) state of the
|
||||||
room. If it is `shared` or `world_readable`, then when she sends the Megolm
|
room. If it is `shared` or `world_readable`, then when the client sends the Megolm
|
||||||
keys to Bob via an [`m.room_key`](#mroom_key) message, she sets
|
keys to room members via [`m.room_key`](#mroom_key) messages, it SHOULD set
|
||||||
`shared_history` to `true`.
|
`shared_history` to `true`. Otherwise, it SHOULD set `shared_history` to `false`.
|
||||||
|
|
||||||
If the history visibility changes in a way that would affect the
|
If the history visibility changes in a way that would affect the
|
||||||
`shared_history` flag (i.e., it changes from `joined` or `invited` to `shared`
|
`shared_history` flag (i.e., it changes from `joined` or `invited` to `shared`
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ properties:
|
||||||
x-addedInMatrixVersion: "1.19"
|
x-addedInMatrixVersion: "1.19"
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
`true` indicates that the creator of this encryption considers that
|
`true` indicates that the creator of this encryption key considers that
|
||||||
the session is [shareable](/client-server-api/#shareable-encryption-sessions):
|
the session is [shareable](/client-server-api/#shareable-encryption-sessions):
|
||||||
in other words, the sender has observed that the [room history
|
in other words, the sender has observed that the [room history
|
||||||
visibility](/client-server-api/#room-history-visibility) is set to
|
visibility](/client-server-api/#room-history-visibility) is set to
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue