diff --git a/Library/_res/0BDFDB.raw.css b/Library/_res/0BDFDB.raw.css index 669b57713c..8957cfbb36 100644 --- a/Library/_res/0BDFDB.raw.css +++ b/Library/_res/0BDFDB.raw.css @@ -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; diff --git a/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js b/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js index 8a604137e0..7e17a0be5f 100644 --- a/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js +++ b/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js @@ -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()) {