mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
De-async _calculateCanPermissions
This commit is contained in:
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 can = {
|
||||
kick: false,
|
||||
|
Loading…
Reference in New Issue
Block a user