From fffdd8e5d899c0b3097960f4ad45457ef506e883 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sun, 7 Jan 2024 00:11:30 +0000 Subject: [PATCH] fix missing substituteParams when executing non-command QRs --- public/scripts/extensions/quick-reply/src/QuickReplySet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/extensions/quick-reply/src/QuickReplySet.js b/public/scripts/extensions/quick-reply/src/QuickReplySet.js index 3fcae6c83..e746672d6 100644 --- a/public/scripts/extensions/quick-reply/src/QuickReplySet.js +++ b/public/scripts/extensions/quick-reply/src/QuickReplySet.js @@ -1,4 +1,4 @@ -import { getRequestHeaders } from '../../../../script.js'; +import { getRequestHeaders, substituteParams } from '../../../../script.js'; import { executeSlashCommands } from '../../../slash-commands.js'; import { debounceAsync, warn } from '../index.js'; import { QuickReply } from './QuickReply.js'; @@ -123,7 +123,7 @@ export class QuickReplySet { return typeof result === 'object' ? result?.pipe : ''; } - ta.value = input; + ta.value = substituteParams(input); ta.focus(); if (!this.disableSend) {