fix: remove async from sendAttachmentsProgressEvent

This commit is contained in:
thecodrr
2021-10-16 09:07:18 +05:00
parent df13446e30
commit 21d5ca3cc2

View File

@@ -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,