filterValidAttachments: Allow attachments with no thumbnail
This commit is contained in:
parent
028a3f3ef0
commit
fd408c52cf
4 changed files with 8 additions and 29 deletions
|
@ -40,7 +40,9 @@ export type ViewSyncAttributesType = {
|
|||
const viewSyncs = new Map<string, ViewSyncAttributesType>();
|
||||
|
||||
async function remove(sync: ViewSyncAttributesType): Promise<void> {
|
||||
await DataWriter.removeSyncTaskById(sync.syncTaskId);
|
||||
const { syncTaskId } = sync;
|
||||
viewSyncs.delete(syncTaskId);
|
||||
await DataWriter.removeSyncTaskById(syncTaskId);
|
||||
}
|
||||
|
||||
export async function forMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue