mirror of https://github.com/vector-im/riot-web
De-async _calculateCanPermissions
parent
d18d15311f
commit
3150d65bd7
|
@ -673,7 +673,7 @@ module.exports = createReactClass({
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
_calculateCanPermissions: async function(me, them, powerLevels) {
|
_calculateCanPermissions: function(me, them, powerLevels) {
|
||||||
const isMe = me.userId === them.userId;
|
const isMe = me.userId === them.userId;
|
||||||
const can = {
|
const can = {
|
||||||
kick: false,
|
kick: false,
|
||||||
|
|
Loading…
Reference in New Issue