Delivery receipt support for edited messages

This commit is contained in:
Josh Perez 2023-03-29 17:58:16 -04:00 committed by GitHub
parent 43e70720f7
commit d093b1ab13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 143 additions and 22 deletions

View file

@ -62,9 +62,10 @@ export class ViewSyncs extends Collection {
async onSync(sync: ViewSyncModel): Promise<void> {
try {
const messages = await window.Signal.Data.getMessagesBySentAt(
sync.get('timestamp')
);
const messages =
await window.Signal.Data.getMessagesIncludingEditedBySentAt(
sync.get('timestamp')
);
const found = messages.find(item => {
const sender = window.ConversationController.lookupOrCreate({