You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
De-async _calculateCanPermissions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user