mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-14 11:50:22 +01:00
116e4d2eeb
In some cases, due to promise chaining and error propagation, we were calling registerError more than once for a given error. This would then cause the overall callback for the send operation to be called with a partial set of errors, as well as duplicates. Note: we do need to find a way to attach identityKey to the OutgoingIdentityKeyError in the case where it comes directly from the encrypt() instead of our pre-key operations. FREEBIE