stuff
This commit is contained in:
parent
2b8ac4f312
commit
b07e2fb306
|
@ -1268,6 +1268,9 @@ input[REPLACE_CLASS_input][REPLACE_CLASS_inputerror] {
|
|||
padding-top: 4px;
|
||||
}
|
||||
|
||||
[REPLACE_CLASS_tooltiprow]:has([REPLACE_CLASS_usersummarycontainer]:empty) {
|
||||
display: none;
|
||||
}
|
||||
[REPLACE_CLASS_tooltipnote] {
|
||||
color: var(--text-muted);
|
||||
font-size: 11px;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name RemoveBlockedUsers
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.6.3
|
||||
* @version 1.6.4
|
||||
* @description Removes blocked Messages/Users
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -14,9 +14,7 @@
|
|||
|
||||
module.exports = (_ => {
|
||||
const changeLog = {
|
||||
"fixed": {
|
||||
"Blocked in VC": "No longer plays audio/notifications of blocked users in voice chats"
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
return !window.BDFDB_Global || (!window.BDFDB_Global.loaded && !window.BDFDB_Global.started) ? class {
|
||||
|
@ -96,6 +94,7 @@ module.exports = (_ => {
|
|||
"Messages",
|
||||
"NowPlayingItem",
|
||||
"Reactors",
|
||||
"RTCConnectionVoiceUsers",
|
||||
"SearchResults",
|
||||
"UserSummaryItem",
|
||||
"VoiceUsers"
|
||||
|
@ -456,6 +455,11 @@ module.exports = (_ => {
|
|||
}
|
||||
}
|
||||
|
||||
processRTCConnectionVoiceUsers (e) {
|
||||
if (!this.settings.places.voiceChat || !e.instance.props.voiceStates) return;
|
||||
e.instance.props.voiceStates = [].concat(e.instance.props.voiceStates).filter(n => !n.user || !BDFDB.LibraryStores.RelationshipStore.isBlocked(n.user.id));
|
||||
}
|
||||
|
||||
processDirectMessage (e) {
|
||||
if (!this.settings.places.recentDms || !e.instance.props.channel) return;
|
||||
if (e.instance.props.channel.isGroupDM()) {
|
||||
|
|
Loading…
Reference in New Issue