fix: treat slash-prefixed input as normal web message

This commit is contained in:
JOJO 2026-04-11 00:52:47 +08:00
parent 4124faa040
commit 3f40aa949f

View File

@ -197,15 +197,6 @@ export const messageMethods = {
}
const message = text;
const isCommand = hasText && !hasImages && !hasVideos && message.startsWith('/');
if (isCommand) {
await this.executeSystemCommand(message, { showToast: false });
this.inputClearMessage();
this.inputClearSelectedImages();
this.inputClearSelectedVideos();
this.autoResizeInput();
return;
}
const wasBlank = this.isConversationBlank();
if (wasBlank) {