Merge pull request #1645 from LenAnderson/qr-fix-macros

This commit is contained in:
Cohee 2024-01-07 02:34:25 +02:00 committed by GitHub
commit e264bc0ac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { getRequestHeaders } from '../../../../script.js'; import { getRequestHeaders, substituteParams } from '../../../../script.js';
import { executeSlashCommands } from '../../../slash-commands.js'; import { executeSlashCommands } from '../../../slash-commands.js';
import { debounceAsync, warn } from '../index.js'; import { debounceAsync, warn } from '../index.js';
import { QuickReply } from './QuickReply.js'; import { QuickReply } from './QuickReply.js';
@ -123,7 +123,7 @@ export class QuickReplySet {
return typeof result === 'object' ? result?.pipe : ''; return typeof result === 'object' ? result?.pipe : '';
} }
ta.value = input; ta.value = substituteParams(input);
ta.focus(); ta.focus();
if (!this.disableSend) { if (!this.disableSend) {