-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As per [MSC1719](#1719) No known alterations have been made to the proposal. Implementation proof: matrix-org/matrix-js-sdk#780
- Loading branch information
Showing
4 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for Olm sessions becoming un-stuck. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"content": {}, | ||
"type": "m.dummy" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
allOf: | ||
- $ref: core-event-schema/event.yaml | ||
|
||
description: |- | ||
This event type is used to indicate new Olm sessions for end-to-end encryption. | ||
Typically it is encrypted as an ``m.room.encrypted`` event, then sent as a `to-device`_ | ||
event. | ||
|
||
The event does not have any content associated with it. The sending client is expected | ||
to send a key share request shortly after this message, causing the receiving client to | ||
process this ``m.dummy`` event as the most recent event and using the keyshare request | ||
to set up the session. The keyshare request and ``m.dummy`` combination should result | ||
in the original sending client receiving keys over the newly establish session. | ||
properties: | ||
content: | ||
properties: {} | ||
type: object | ||
type: | ||
enum: | ||
- m.dummy | ||
type: string | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters