Added clearer debug logging to createOrLookup
This commit is contained in:
parent
bc4f3dcd01
commit
e41252b35e
21 changed files with 55 additions and 4 deletions
|
@ -62,6 +62,7 @@ export class ReadSyncs extends Collection {
|
|||
const sender = window.ConversationController.lookupOrCreate({
|
||||
e164: message.get('source'),
|
||||
uuid: message.get('sourceUuid'),
|
||||
reason: 'ReadSyncs.forMessage',
|
||||
});
|
||||
const sync = this.find(item => {
|
||||
return (
|
||||
|
@ -88,6 +89,7 @@ export class ReadSyncs extends Collection {
|
|||
const sender = window.ConversationController.lookupOrCreate({
|
||||
e164: item.source,
|
||||
uuid: item.sourceUuid,
|
||||
reason: 'ReadSyncs.onSync',
|
||||
});
|
||||
|
||||
return isIncoming(item) && sender?.id === sync.get('senderId');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue