Update RemoveBlockedMessages.plugin.js

This commit is contained in:
Mirco Wittrien 2020-11-16 17:02:03 +01:00
parent 4c9e5f1d27
commit 46be8e2786
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module.exports = (_ => {
"info": { "info": {
"name": "RemoveBlockedMessages", "name": "RemoveBlockedMessages",
"author": "DevilBro", "author": "DevilBro",
"version": "1.1.2", "version": "1.1.3",
"description": "Completely removes blocked messages" "description": "Completely removes blocked messages"
}, },
"changeLog": { "changeLog": {
@ -22,6 +22,7 @@ module.exports = (_ => {
"Voice Channels": "No longer plays voice notifications for blocked users and localy mutes them when they join the same voice channel as you" "Voice Channels": "No longer plays voice notifications for blocked users and localy mutes them when they join the same voice channel as you"
}, },
"fixed": { "fixed": {
"Voice Channels": "Fixed issue where sounds didn't play if non-blocked users joins/leaves channel",
"Message Groups": "No longer keeps message groups split if a blocked message between the was removed" "Message Groups": "No longer keeps message groups split if a blocked message between the was removed"
} }
} }
@ -139,6 +140,7 @@ module.exports = (_ => {
e.stopOriginalMethodCall(); e.stopOriginalMethodCall();
e.methodArguments[0] = null; e.methodArguments[0] = null;
} }
else e.callOriginalMethodAfterwards();
connectedUsers = unblockedUsers; connectedUsers = unblockedUsers;
} }
else e.callOriginalMethodAfterwards(); else e.callOriginalMethodAfterwards();