Skip to content

Commit

Permalink
Merge pull request #1935 from matrix-org/t3chguy/fix/18969
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Sep 27, 2021
2 parents 9a06a05 + 4606422 commit 0c4212c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/room-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export class RoomState extends EventEmitter {
* @param {number} powerLevel The power level of the member
* @return {boolean} true if the given power level is sufficient
*/
private hasSufficientPowerLevelFor(action: string, powerLevel: number): boolean {
public hasSufficientPowerLevelFor(action: string, powerLevel: number): boolean {
const powerLevelsEvent = this.getStateEvents(EventType.RoomPowerLevels, "");

let powerLevels = {};
Expand Down

0 comments on commit 0c4212c

Please sign in to comment.