fix: treat slash-prefixed input as normal web message
This commit is contained in:
parent
4124faa040
commit
3f40aa949f
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user