fix: starting a new thread from an attachment (#5345)

This commit is contained in:
Reinaldo Neto 2023-11-17 12:05:04 -03:00 committed by GitHub
parent 1d681917b8
commit 60a352beb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ export async function sendMessage(
tm.status = messagesStatus.SENT; // Original message was sent already
tm.u = tMessageRecord.u;
tm.t = message.t;
tm.attachments = tMessageRecord.attachments;
if (message.t === E2E_MESSAGE_TYPE) {
tm.e2e = E2E_STATUS.DONE as E2EType;
}