Don't block message processing on contact syncs
This commit is contained in:
parent
e5d03edea1
commit
c11a894ad1
5 changed files with 59 additions and 59 deletions
|
@ -16,8 +16,8 @@ import type {
|
|||
ProcessedEnvelope,
|
||||
ProcessedDataMessage,
|
||||
ProcessedSent,
|
||||
ProcessedAttachment,
|
||||
} from './Types.d';
|
||||
import type { ContactDetailsWithAvatar } from './ContactsParser';
|
||||
import type {
|
||||
CallEventDetails,
|
||||
CallLogEventDetails,
|
||||
|
@ -84,7 +84,7 @@ export class ErrorEvent extends Event {
|
|||
|
||||
export class ContactSyncEvent extends Event {
|
||||
constructor(
|
||||
public readonly contacts: ReadonlyArray<ContactDetailsWithAvatar>,
|
||||
public readonly contactAttachment: ProcessedAttachment,
|
||||
public readonly complete: boolean,
|
||||
public readonly receivedAtCounter: number,
|
||||
public readonly sentAt: number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue