ClientSideBlock: Fix Crashing
All checks were successful
Sync to Codeberg / codeberg (push) Has been skipped

This commit is contained in:
thororen 2026-09-02 21:53:25 -04:00
parent 390f470548
commit b90a13be8e
No known key found for this signature in database

View file

@ -163,8 +163,8 @@ export default definePlugin({
{
find: "peopleListItemRef.current.componentWillLeave",
replacement: {
match: /\i}=this.state;/,
replace: "$&if($self.shouldHideUser(this.props.user.id)) return null; "
match: /return \i===\i\.\i\.FRIEND_ANNIVERSARY/,
replace: "if($self.shouldHideUser(this.props.user.id)) return null;$&"
}
},
// member list