1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

De-async _calculateCanPermissions

This commit is contained in:
Travis Ralston
2019-09-13 12:43:57 -06:00
parent d18d15311f
commit 3150d65bd7

View File

@@ -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,