parent
bbab5075dd
commit
17d5d2ea2f
1 changed files with 12 additions and 1 deletions
|
|
@ -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: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue