1
0
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:
Richard van der Hoff
2016-08-22 18:13:11 +01:00
parent 238700cbdb
commit 9f180179d5

View File

@@ -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,