web: do not send hash when updating attachment

This commit is contained in:
Abdullah Atta
2024-01-26 18:17:02 +05:00
committed by Abdullah Atta
parent 0283037289
commit c4232ac95a

View File

@@ -444,7 +444,6 @@ function toIEditor(editor: Editor): IEditor {
sendAttachmentProgress: (hash, progress) =>
editor.current?.commands.updateAttachment(
{
hash,
progress
},
{ query: (a) => a.hash === hash, preventUpdate: true }