Signal-iOS/SignalServiceKit/tests/Account
Max Radermacher d7c52b6ad0
Fix bugs marking SignalRecipients as registered
Previously, low-trust SignalRecipients wouldn’t be marked as registered
unless they were newly-created. Now, they are marked as registered in
places where they should be (eg, successfully sending a message or
fetching a pre key means that the device exists).

As part of this change, SignalRecipients are unregistered by default,
though most call sites still mark them as registered immediately, so the
behavior in practice will be identical. There are a few places (such as
ensureAccountId) which will no longer mark new values as registered.

Finally, creating a new SignalRecipient would also update Storage
Service, even if that recipient was created in response to a storage
service update. Now, recipients updated as part of storage service
operations won’t immediately trigger another storage service update.
2023-01-03 13:23:33 -08:00
..
SignalAccountFinderTest.swift Fix bugs marking SignalRecipients as registered 2023-01-03 13:23:33 -08:00
SignedPreKeyDeletionTests.m Change license to AGPL 2022-10-13 08:25:37 -05:00
TSAccountManagerTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00