minor fixes and improvments
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user