diff --git a/src/plugins/Mutes.ts b/src/plugins/Mutes.ts index 926cc84d..de9c6e38 100644 --- a/src/plugins/Mutes.ts +++ b/src/plugins/Mutes.ts @@ -139,7 +139,7 @@ export class MutesPlugin extends ZeppelinPlugin { } const user = await this.resolveUser(userId); - const member = await this.getMember(user.id); + const member = await this.getMember(user.id, true); // Grab the fresh member so we don't have stale role info if (member) { // Apply mute role if it's missing @@ -264,7 +264,7 @@ export class MutesPlugin extends ZeppelinPlugin { if (!existingMute) return; const user = await this.resolveUser(userId); - const member = await this.getMember(userId); + const member = await this.getMember(userId, true); // Grab the fresh member so we don't have stale role info if (unmuteTime) { // Schedule timed unmute (= just set the mute's duration)