1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-26 17:26:22 +00:00

UserVoiceShow: Fix UserPopout patch stealing predicates from another component

This commit is contained in:
Nuckyz 2024-03-22 09:43:17 -03:00 committed by Luna
parent 8510a322f9
commit 03c6ae204b

View file

@ -98,8 +98,8 @@ export default definePlugin({
{ {
find: ".popularApplicationCommandIds,", find: ".popularApplicationCommandIds,",
replacement: { replacement: {
match: /\(0,\i\.jsx\)\(\i\.\i,{user:\i,setNote/, match: /applicationId:\i\.id}\),(?=.{0,50}setNote:\i)/,
replace: "$self.patchPopout(arguments[0]),$&", replace: "$&$self.patchPopout(arguments[0]),",
} }
}, },
// below username // below username