Skip to content

Commit

Permalink
[AB-xxx] fixing using the wrong user for unmute notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheldan committed May 3, 2024
1 parent 66e212d commit bc3d16b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public CompletableFuture<Void> endMute(Mute mute, Guild guild) {
Long muteId = mute.getMuteId().getId();
AServer mutingServer = mute.getServer();
ServerUser mutedUser = ServerUser.fromAUserInAServer(mute.getMutedUser());
ServerUser mutingUser = ServerUser.fromAUserInAServer(mute.getMutedUser());
ServerUser mutingUser = ServerUser.fromAUserInAServer(mute.getMutingUser());
log.info("UnMuting {} in server {}", mute.getMutedUser().getUserReference().getId(), mutingServer.getId());
return memberService.removeTimeout(guild, mutedUser, null)
.thenCompose(unused -> self.sendUnmuteLog(muteId, guild, mutedUser, mutingUser));
Expand Down

0 comments on commit bc3d16b

Please sign in to comment.