fix ignoreactivities

This commit is contained in:
thororen1234 2026-01-23 15:32:38 -05:00
parent 52a5066d4b
commit 3b7962dfec
No known key found for this signature in database

View file

@ -275,9 +275,9 @@ export default definePlugin({
// Activities from the apps launcher in the bottom right of the chat bar
{
find: ".promotedLabelWrapperNonBanner,children",
find: "#{intl::EMBEDDED_ACTIVITIES_DEVELOPER_ACTIVITY}",
replacement: {
match: /\.appDetailsHeaderContainer.+?children:\i.*?}\),(?<=application:(\i).+?)/,
match: /,rendersPlaceholder:.+?children:\i.*?}\),(?<=application:(\i).+?)/,
replace: (m, props) => `${m}$self.renderToggleActivityButton(${props}),`
}
}