Don't block message processing on contact syncs

This commit is contained in:
trevor-signal 2024-09-17 18:52:31 -04:00 committed by GitHub
parent e5d03edea1
commit c11a894ad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 59 additions and 59 deletions

View file

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