Make sure sent audio is shown

Issue #681
This commit is contained in:
N-Pex 2025-09-04 11:23:15 +02:00
parent 0015e3d19e
commit 6fd59aa4c9
2 changed files with 2 additions and 3 deletions

View file

@ -560,8 +560,7 @@ export const createUploadBatch = (manager: AttachmentManager | null, room: Room
});
totalOriginalFileSize.value = attachments.value.reduce((cb, item) => {
const thisFileCurrent = item.scaledFile && item.useScaled ? item.scaledFile.size : item.file.size;
return cb + thisFileCurrent;
return cb + item.file.size;
}, 0);
const onLocalEchoUpdated = (event: KeanuEvent) => {