mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 15:00:30 +03:00
bug fixed attachment related
This commit is contained in:
parent
fa85e61d6f
commit
7fddf80c09
2 changed files with 1 additions and 1 deletions
|
|
@ -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() !== '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue