Merge branch 'main' into dev
Some checks are pending
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-04-10 07:18:20 -04:00
commit c0e77e1313
No known key found for this signature in database

View file

@ -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)