From 3f40aa949fcbca9c842b0d01bc455092c0baeed3 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 11 Apr 2026 00:52:47 +0800 Subject: [PATCH] fix: treat slash-prefixed input as normal web message --- static/src/app/methods/message.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/static/src/app/methods/message.ts b/static/src/app/methods/message.ts index 6dade00..7e0c77b 100644 --- a/static/src/app/methods/message.ts +++ b/static/src/app/methods/message.ts @@ -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) {