Signal-iOS/SignalServiceKit/tests/Storage
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
..
Database Change license to AGPL 2022-10-13 08:25:37 -05:00
InteractionFinderTest.swift Fix deprecation warning while enumerating messages 2023-01-02 10:47:15 -08:00
ModelReadCacheTest.swift Fix bugs marking SignalRecipients as registered 2023-01-03 13:23:33 -08:00
OWSIdentityManagerTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SDSDatabaseStorageObservationTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SDSDatabaseStorageTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SDSKeyValueStoreTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKPreKeyStoreTests.m Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKSignedPreKeyStoreTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
TestModelTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00