You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +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) {
|
Crypto.prototype.setRoomEncryption = async function(roomId, config, inhibitDeviceQuery) {
|
||||||
// if we already have encryption in this room, we should ignore this event
|
// if we already have encryption in this room, we should ignore this event
|
||||||
// (for now at least. maybe we should alert the user somehow?)
|
// (for now at least. maybe we should alert the user somehow?)
|
||||||
console.log("arese");
|
|
||||||
const existingConfig = await this.getRoomEncryption(roomId);
|
const existingConfig = await this.getRoomEncryption(roomId);
|
||||||
if (existingConfig && JSON.stringify(existingConfig) != JSON.stringify(config)) {
|
if (existingConfig && JSON.stringify(existingConfig) != JSON.stringify(config)) {
|
||||||
console.error("Ignoring m.room.encryption event which requests " +
|
console.error("Ignoring m.room.encryption event which requests " +
|
||||||
|
|||||||
Reference in New Issue
Block a user