From b5d90a42597c86e8062b2d1030ef93a1ac27a610 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sat, 27 Jul 2024 15:30:50 -0400 Subject: [PATCH] let /qr-arg overwrite wildcard macros --- .../scripts/extensions/quick-reply/src/SlashCommandHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js b/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js index 203580754..48a872f70 100644 --- a/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js +++ b/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js @@ -637,7 +637,7 @@ export class SlashCommandHandler { SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-arg', callback: ({ _scope }, [key, value]) => { - _scope.setMacro(`arg::${key}`, value, false); + _scope.setMacro(`arg::${key}`, value, key.includes('*')); return ''; }, unnamedArgumentList: [