diff --git a/src/equicordplugins/questify/index.tsx b/src/equicordplugins/questify/index.tsx index 108d1b311..888c13c22 100644 --- a/src/equicordplugins/questify/index.tsx +++ b/src/equicordplugins/questify/index.tsx @@ -530,9 +530,20 @@ export default definePlugin({ }, ] }, + { + // Allow non-shareable Quests to embed in chat and to have + // their share URLs copyable from the embed context menu. + find: "NOT_SHAREABLE}function", + group: true, + predicate: () => !getQuestifySettings().disableQuestsEverything, + replacement: { + match: /(?<=return )(?=\i.sharePolicy!==\i.\i.NOT_SHAREABLE)/, + replace: "true||" + } + }, { // Adds a maxDigits prop to the LowerBadge component which allows for not truncating, or for truncating at a specific threshold. - find: ".INTERACTIVE_TEXT_ACTIVE.css,shape", + find: ".BADGE_NOTIFICATION_BACKGROUND.css,disableColor", group: true, replacement: [ {