Fix merge

This commit is contained in:
David Baker 2019-09-12 13:09:59 +01:00
parent b0abb52518
commit ef7d8c42a8

View file

@ -679,9 +679,6 @@ module.exports = createReactClass({
redactMessages: false,
};
// Calculate permissions for Synapse before doing the PL checks
can.synapseDeactivate = await this.context.matrixClient.isSynapseAdministrator();
const canAffectUser = them.powerLevel < me.powerLevel || isMe;
if (!canAffectUser) {
//console.log("Cannot affect user: %s >= %s", them.powerLevel, me.powerLevel);