stuff
This commit is contained in:
parent
c7066ceff8
commit
9bb0c60b59
|
@ -477,7 +477,7 @@
|
|||
"QuickSwitchUserResult": {"strings": ["getAccessibilityLabel", ".contentUnread", "getDisplayNickname"]},
|
||||
"Reactions": {"strings": ["disableTransitionAppear", "reactionsCount:", "message.reactions.length"]},
|
||||
"Reactor": {"strings": ["currentUser cannot be undefined", "reactorDefault"]},
|
||||
"ReactorsComponent": {"strings": ["hasMore", "emoji", "spinnerMore"]},
|
||||
"Reactors": {"strings": ["hasMore", "emoji", "spinnerMore"]},
|
||||
"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.5.9
|
||||
* @version 1.6.0
|
||||
* @description Removes blocked Messages/Users
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -93,7 +93,7 @@ module.exports = (_ => {
|
|||
"Message",
|
||||
"Messages",
|
||||
"NowPlayingItem",
|
||||
"ReactorsComponent",
|
||||
"Reactors",
|
||||
"SearchResults",
|
||||
"UserSummaryItem",
|
||||
"VoiceUsers"
|
||||
|
@ -350,7 +350,7 @@ module.exports = (_ => {
|
|||
if (!e.returnvalue.props.children[emojiArrayIndex].filter(n => n).length) return null;
|
||||
}
|
||||
|
||||
processReactorsComponent (e) {
|
||||
processReactors (e) {
|
||||
if (this.settings.places.reactions && BDFDB.ArrayUtils.is(e.instance.props.reactors)) e.instance.props.reactors = e.instance.props.reactors.filter(n => !n || !BDFDB.LibraryStores.RelationshipStore.isBlocked(n.id));
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name RemoveNicknames
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.4.2
|
||||
* @version 1.4.3
|
||||
* @description Replaces Nicknames with Accountnames
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -172,7 +172,7 @@ module.exports = (_ => {
|
|||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.typingtext]]});
|
||||
if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) for (let child of children[index].props.children) if (child.type == "strong") {
|
||||
let newName = this.getNewName(users.shift());
|
||||
if (newName) BDFDB.ReactUtils.setChild(child, newName);
|
||||
if (newName) child.props.children = newName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue