Fix Patches

This commit is contained in:
thororen1234 2025-07-31 16:49:05 -04:00
parent 367827c6ec
commit c700576403
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ export default definePlugin({
{
find: "UNREAD_IMPORTANT:",
replacement: {
match: /\.name,{.{0,140}\.children.+?:null(?<=,channel:(\i).+?)/,
match: /\.Children\.count.+?:null(?<=,channel:(\i).+?)/,
replace: "$&,$self.TrashIcon($1)"
}
},

View file

@ -41,7 +41,7 @@ export default definePlugin({
find: "UNREAD_IMPORTANT:",
replacement: [
{
match: /.name,{.{0,140}\.children.+?:null/,
match: /\.Children\.count.+?:null(?<=,channel:(\i).+?)/,
replace: "$&,$self.CountBadge({channel: arguments[0].channel})",
},
]