diff --git a/src/equicordplugins/_api/profileCollections.ts b/src/equicordplugins/_api/profileCollections.ts index b61066380..bbc51a840 100644 --- a/src/equicordplugins/_api/profileCollections.ts +++ b/src/equicordplugins/_api/profileCollections.ts @@ -13,7 +13,7 @@ export default definePlugin({ authors: [Devs.thororen], patches: [ { - find: "#{intl::XcTHmQ::raw}", + find: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}", replacement: { match: /user:\i,widgets:.{0,100}?\}\),/, replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),", diff --git a/src/plugins/callTimer/index.tsx b/src/plugins/callTimer/index.tsx index 8402bb97a..e4b038232 100644 --- a/src/plugins/callTimer/index.tsx +++ b/src/plugins/callTimer/index.tsx @@ -138,7 +138,7 @@ export default definePlugin({ { find: "renderConnectionStatus(){", replacement: { - match: /(lineClamp:1,children:)(\i)(?=,|}\))/, + match: /(renderConnectionStatus\(\).{0,1000}?,children:)(\i)(?=,|}\))/, replace: "$1[$2,$self.renderConnectionTimer(this.props.channel.id)]" } } diff --git a/src/plugins/implicitRelationships/index.ts b/src/plugins/implicitRelationships/index.ts index 6a51c89a4..8600894f2 100644 --- a/src/plugins/implicitRelationships/index.ts +++ b/src/plugins/implicitRelationships/index.ts @@ -96,7 +96,7 @@ export default definePlugin({ { find: ".REQUEST_GUILD_MEMBERS,", replacement: { - match: /\.send\(\i\.REQUEST_GUILD_MEMBERS,{/, + match: /\.send\(\i\.\i\.REQUEST_GUILD_MEMBERS,{/, replace: "$&nonce:arguments[1].nonce," } }, diff --git a/src/plugins/noMosaic/index.ts b/src/plugins/noMosaic/index.ts index b360e1ea1..90b74b927 100644 --- a/src/plugins/noMosaic/index.ts +++ b/src/plugins/noMosaic/index.ts @@ -27,13 +27,6 @@ export default definePlugin({ settings, patches: [ - { - find: '"PLAINTEXT_PREVIEW":"OTHER"', - replacement: { - match: /return"IMAGE"===\i\|\|"VIDEO"===\i(?:\|\|("VISUAL_PLACEHOLDER"===\i)\|\|\i&&"CLIP"===\i)?/, - replace: (_, visualPlaceholderPred) => visualPlaceholderPred != null ? `return ${visualPlaceholderPred}` : "return false" - } - }, { find: "renderAttachments(", predicate: () => settings.store.inlineVideo, diff --git a/src/plugins/showConnections/index.tsx b/src/plugins/showConnections/index.tsx index 600eb7ef4..0bf38c331 100644 --- a/src/plugins/showConnections/index.tsx +++ b/src/plugins/showConnections/index.tsx @@ -168,7 +168,7 @@ export default definePlugin({ patches: [ { // Same find as ReviewDB - find: "#{intl::XcTHmQ::raw}", + find: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}", replacement: { match: /userId:\i\.id,guild:\i\}\)(?=])/, replace: "$&,$self.profilePopoutComponent(arguments[0])" diff --git a/src/plugins/voiceMessages/index.tsx b/src/plugins/voiceMessages/index.tsx index 6e3072153..710460351 100644 --- a/src/plugins/voiceMessages/index.tsx +++ b/src/plugins/voiceMessages/index.tsx @@ -280,7 +280,7 @@ export default definePlugin({ settings, patches: [ { - find: "#{intl::3XohGn::raw}", + find: "#{intl::PAUSE_VOICE_MESSAGE_A11Y_LABEL}", replacement: { match: /(?<=\i=)(?=\i\.memo\(.{0,50}?=1,onVolumeChange:[^}]+?waveform:[^}]+?playbackCacheKey:)/, replace: "$self.VoiceMessage=",