fix: persistance

This commit is contained in:
Shivam Mishra
2026-03-20 13:32:07 +05:30
parent 6b1389a489
commit 477dad1e8e
+15 -1
View File
@@ -366,9 +366,23 @@ export default {
}
},
clearMessage() {
this.message = '';
this.attachedFiles = [];
this.isRecordingAudio = false;
// When signature is in the editor (not read-only), reset to just the signature
// so it persists across sends
if (
!this.isSignatureReadOnly &&
this.hasCustomSignature &&
this.signatureToApply
) {
this.message = appendSignature(
'',
this.signatureToApply,
this.channelType
);
} else {
this.message = '';
}
},
onTypingOn() {
this.toggleTyping('on');