1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

remove debugging

This commit is contained in:
David Baker
2018-01-22 18:16:11 +01:00
parent 81d54c7558
commit ac659e8df1

View File

@@ -613,7 +613,6 @@ Crypto.prototype.getRoomEncryption = async function(roomId) {
Crypto.prototype.setRoomEncryption = async function(roomId, config, inhibitDeviceQuery) {
// if we already have encryption in this room, we should ignore this event
// (for now at least. maybe we should alert the user somehow?)
console.log("arese");
const existingConfig = await this.getRoomEncryption(roomId);
if (existingConfig && JSON.stringify(existingConfig) != JSON.stringify(config)) {
console.error("Ignoring m.room.encryption event which requests " +