- First, we should skip fetching prekeys for transient messages in our
advisory call to -ensureSessionsForMessageSend:ignoreErrors:. We
already skip transient messages in our prekey fetch where errors *do*
matter, so this additional check should be able to skip the prekey
fetch as well.
- OWSOutgoingReceiptManager should stop trying to send receipts to
recipients that are untrusted. This just burns through prekey fetches
for sends that we know will fail anyway.
- SafetyNumberConfirmationSheet should handle marking a recipient as
trusted. Callers are hit or miss on whether they actually update the
verification state.
- These fixes also happen to make SafetyNumberConfirmationSheet
presentation a bit more reliable. Before, multiple confirmation sheets
might flash in quick succession. This seems to fix that