bug fixed attachment related

This commit is contained in:
unknown 2021-08-15 18:57:05 +05:30
parent fa85e61d6f
commit 7fddf80c09
2 changed files with 1 additions and 1 deletions

View file

@ -201,6 +201,7 @@ class RoomsInput extends EventEmitter {
this.roomIdToInput.set(roomId, input);
if (input.attachment) {
await this.sendFile(roomId, input.attachment.file);
if (!this.isSending(roomId)) return;
}
if (this.getMessage(roomId).trim() !== '') {