mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02: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…
x
Reference in New Issue
Block a user