Fix Conflicting Patches

This commit is contained in:
thororen1234 2026-07-15 22:43:59 -04:00
parent a301d26cda
commit 29921a58a8
No known key found for this signature in database
3 changed files with 2 additions and 10 deletions

View file

@ -75,14 +75,6 @@ export default definePlugin({
replace: "$1$self.handleNavigation($2,$3);$4"
}
},
// ctrl click to open in new tab in inbox unread
{
find: '[data-recents-channel="',
replacement: {
match: /(?<=className:\i.\i,onJump:)\i=>(\i)\(\i,(\i)\.id\)/,
replace: "event => { if (event.ctrlKey) $self.open($2); else $1(event, $2.id) }"
}
},
// ctrl click to open in new tab in inbox mentions
{
find: ".deleteRecentMention(",

View file

@ -57,7 +57,7 @@ export default definePlugin({
{
find: "type:\"GIF_PICKER_QUERY\"",
replacement: {
match: /(function \i\(.{1,10}\){)(.{1,100}.GIFS_SEARCH,query:)/,
match: /(function \i\(.{1,10}\){)(.{1,200}.GIFS_SEARCH,query:)/,
replace: "$1if($self.shouldStopFetch(arguments[0])) return;$2",
},
},

View file

@ -317,7 +317,7 @@ export default definePlugin({
replace: "$&vc_SidebarChat=$self.renderSidebar(),"
},
{
match: /return(\(0,\i\.jsxs?\)\(\i\.\i,{}\))}(?<=default:.{1,250})/,
match: /return(\(0,\i\.jsxs?\)\(\i,{}\))}(?<=default:.{1,250})/,
replace: "return [$1, vc_SidebarChat]}"
},
],