mirror of https://github.com/vector-im/riot-web
Fix merge
parent
b0abb52518
commit
ef7d8c42a8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue