Improve logging in handleDataMessage and contact sync

This commit is contained in:
Scott Nonnenberg 2022-09-12 17:52:55 -07:00 committed by GitHub
parent 1465682555
commit 8899ca9724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 51 deletions

View file

@ -3071,7 +3071,8 @@ export default class MessageReceiver
const contactSync = new ContactSyncEvent(
Array.from(contactBuffer),
Boolean(contacts.complete),
envelope.receivedAtCounter
envelope.receivedAtCounter,
envelope.timestamp
);
await this.dispatchAndWait(contactSync);