From 21d5ca3cc29fb151843ee0717a98810fff03fedd Mon Sep 17 00:00:00 2001 From: thecodrr Date: Sat, 16 Oct 2021 09:07:18 +0500 Subject: [PATCH] fix: remove async from sendAttachmentsProgressEvent --- packages/core/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/common.js b/packages/core/common.js index abdc554a0..29009739f 100644 --- a/packages/core/common.js +++ b/packages/core/common.js @@ -10,7 +10,7 @@ export async function sendCheckUserStatusEvent(type) { return results.some((r) => r.type === type && r.result === true); } -export async function sendAttachmentsProgressEvent(type, total, current) { +export function sendAttachmentsProgressEvent(type, total, current) { EV.publish(EVENTS.attachmentsLoading, { type, total,