stuff
This commit is contained in:
parent
535c6d3e1a
commit
55595dacda
|
@ -214,9 +214,6 @@
|
|||
"ReactionEmojiUtils": {"strings": ["optionallyDiverseSequence,animated", "convertSurrogateToName"], "exported": false, "value": "exports", "map": {
|
||||
"getReactionEmojiName": ["convertSurrogateToName"]
|
||||
}},
|
||||
"ReactionUtils": {"strings": ["\"MESSAGE_REACTION_ADD\"", "\"MESSAGE_REACTION_REMOVE\"", "\"@me\""], "exported": false, "value": "exports", "map": {
|
||||
"getReactions": [".apply("]
|
||||
}},
|
||||
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
|
||||
"RelationshipUtils": {"props": ["addRelationship", "removeRelationship"]},
|
||||
"RoleIconUtils": {"strings": [".ROLE_ICONS", "convertSurrogateToName", "customIconSrc"], "exported": false, "value": "exports", "map": {
|
||||
|
@ -527,9 +524,10 @@
|
|||
"QuickSwitchGroupDMResult": {"strings": ["getAccessibilityLabel", ".contentUnread", "dmIconContainer"]},
|
||||
"QuickSwitchGuildResult": {"strings": ["getAccessibilityLabel", ".contentUnread", "guildIconContainer"]},
|
||||
"QuickSwitchUserResult": {"strings": ["getAccessibilityLabel", ".contentUnread", "getDisplayNickname"]},
|
||||
"Reactions": {"strings": ["disableTransitionAppear", "reactionsCount:", "message.reactions.length"]},
|
||||
"Reactions": {"strings": [".O.BURST", ".reactions", ".emoji.name", "\"reactions\""], "noSearch": true},
|
||||
"Reactor": {"strings": ["currentUser cannot be undefined", "reactorDefault"]},
|
||||
"Reactors": {"strings": ["hasMore", "emoji", "spinnerMore"]},
|
||||
"Reactors": {"strings": ["hasMore", "emoji", "spinnerMore"], "noSearch": true},
|
||||
"ReactorsList": {"strings": [".O.BURST", ".reactions", ".emoji.name", "selectedReaction"], "noSearch": true},
|
||||
"RecentMentions": {"strings": ["canCloseAllMessages", "RECENT_MENTIONS", "badgeable"]},
|
||||
"RecentsChannelHeader": {"strings": [".subtextContainer", ".channelNameSpan", ".channelNameHeader", ".gotoChannel"]},
|
||||
"RichChannelMention": {"strings": ["iconType:", "Messages.DELETED_CHANNEL_PLACEHOLDER"]},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name RemoveBlockedUsers
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.6.5
|
||||
* @version 1.6.6
|
||||
* @description Removes blocked Messages/Users
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -180,7 +180,10 @@ module.exports = (_ => {
|
|||
if (unmutedBlockedUsers.length) {
|
||||
BDFDB.TimeUtils.clear(muteTimeout);
|
||||
muteTimeout = BDFDB.TimeUtils.timeout(_ => {
|
||||
while (unmutedBlockedUsers.length) BDFDB.LibraryModules.MediaEngineUtils.toggleLocalMute(unmutedBlockedUsers.pop().user.id);
|
||||
while (unmutedBlockedUsers.length) {
|
||||
let userId = unmutedBlockedUsers.pop().user.id;
|
||||
if (!BDFDB.LibraryStores.MediaEngineStore.isLocalMute(userId)) BDFDB.LibraryModules.MediaEngineUtils.toggleLocalMute(userId);
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
if (unblockedUsers.length == oldUnblockedConnectedUsers.length) e.methodArguments[1] = 0;
|
||||
|
|
Loading…
Reference in New Issue