1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

add comment back as we kept flag in the end

This commit is contained in:
Bruno Windels
2018-08-27 11:51:29 +02:00
parent 362bf1895d
commit ad71bb30ac

View File

@@ -977,6 +977,8 @@ Crypto.prototype.onCryptoEvent = async function(event) {
const content = event.getContent();
try {
// inhibit the device list refresh for now - it will happen once we've
// finished processing the sync, in onSyncCompleted.
await this.setRoomEncryption(roomId, content, true);
} catch (e) {
console.error("Error configuring encryption in room " + roomId +