Fix plugins for latest discord update (#3509)

Co-authored-by: Etorix <92535668+EtorixDev@users.noreply.github.com>
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
sadan4 2025-06-24 21:25:36 -04:00 committed by GitHub
parent 9b24535d44
commit b6ffb33adc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 61 additions and 66 deletions

View file

@ -394,7 +394,7 @@ export default definePlugin({
},
// Separate patch for allowing using custom app icons
{
find: "?24:30,",
find: "getCurrentDesktopIcon(),",
replacement: {
match: /\i\.\i\.isPremium\(\i\.\i\.getCurrentUser\(\)\)/,
replace: "true"