Merge branch 'staging' into staging-3071-v2

This commit is contained in:
Eradev
2025-02-02 02:44:21 -05:00
37 changed files with 774 additions and 348 deletions

View File

@ -883,6 +883,10 @@ export class SlashCommandHandler {
}
}
getQuickReply(args) {
if (!args.id && !args.label) {
toastr.error('Please provide a valid id or label.');
return '';
}
try {
return JSON.stringify(this.api.getQrByLabel(args.set, args.id !== undefined ? Number(args.id) : args.label));
} catch (ex) {