De-async _calculateCanPermissions
This commit is contained in:
parent
d18d15311f
commit
3150d65bd7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue