Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
De-async _calculateCanPermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Sep 13, 2019
1 parent d18d153 commit 3150d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/MemberInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3150d65

Please sign in to comment.