Harden UUID-handling code paths
This commit is contained in:
parent
d3a27a6442
commit
bf04c9114e
10 changed files with 193 additions and 124 deletions
|
@ -1535,6 +1535,11 @@ class MessageReceiverInner extends EventTarget {
|
|||
while (contactDetails !== undefined) {
|
||||
const contactEvent = new Event('contact');
|
||||
contactEvent.contactDetails = contactDetails;
|
||||
window.normalizeUuids(
|
||||
contactEvent,
|
||||
['contactDetails.verified.destinationUuid'],
|
||||
'message_receiver::handleContacts::handleAttachment'
|
||||
);
|
||||
results.push(this.dispatchAndWait(contactEvent));
|
||||
|
||||
contactDetails = contactBuffer.next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue