mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 06:03:03 -04:00
This commit is contained in:
commit
c0e77e1313
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "._areActivitiesExperimentallyHidden=(",
|
find: "._areActivitiesExperimentallyHidden=(",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /BOOST_GEM_ICON\}\}\)\)\};/,
|
match: /(?<=user:(\i),guildId:\i,channel:(\i).*?)BOOST_GEM_ICON\}\}\)\)\};/,
|
||||||
replace: "$&if($self.shouldHideUser(this.props.user.id, this.props.channel.id)) return null; "
|
replace: "$&if($self.shouldHideUser($1.id, $2.id)) return null; "
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// stop the role header from displaying if all users with that role are hidden (wip sorta)
|
// stop the role header from displaying if all users with that role are hidden (wip sorta)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue