minor fixes and improvments

This commit is contained in:
2026-03-10 03:27:11 +01:00
parent 61612b52d3
commit 506a824401
5 changed files with 81 additions and 12 deletions

View File

@@ -116,7 +116,17 @@ export class ChatPageComponent {
return;
}
await this.session.requestGeneratedImage(peerId, this.messageText);
const requested = await this.session.requestGeneratedImage(peerId, this.messageText);
if (!requested) {
return;
}
this.messageText = '';
this.handleMessageTextChange('');
this.emojiPickerOpen.set(false);
this.composerSelectionStart = 0;
this.composerSelectionEnd = 0;
}
handleComposerEnter(event: Event): void {