You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
rename m.key event to m.room_key
... because m.key is scary, or something
This commit is contained in:
@@ -82,7 +82,7 @@ MegolmEncryption.prototype._ensureOutboundSession = function(room) {
|
||||
|
||||
// send the keys to each (unblocked) device in the room.
|
||||
var payload = {
|
||||
type: "m.key",
|
||||
type: "m.room_key",
|
||||
content: {
|
||||
algorithm: olmlib.MEGOLM_ALGORITHM,
|
||||
room_id: this._roomId,
|
||||
|
||||
Reference in New Issue
Block a user