1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

Merge pull request #274 from matrix-org/rav/log_on_unknown_session

Log to the console on unknown session
This commit is contained in:
Richard van der Hoff
2016-11-07 22:46:37 +00:00
committed by GitHub

View File

@@ -958,6 +958,10 @@ Crypto.prototype.decryptEvent = function(event) {
// back to all devices.
device_id = null;
}
console.log(
"Unknown session decrypting event id " + event.event_id +
": sending m.new_device event"
);
this._sendPingToDevice(event.sender, device_id, event.room_id);
}