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
remove debugging
This commit is contained in:
@@ -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 " +
|
||||
|
||||
Reference in New Issue
Block a user