Delivery receipt support for edited messages
This commit is contained in:
parent
43e70720f7
commit
d093b1ab13
7 changed files with 143 additions and 22 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue