Signal-iOS/SignalServiceKit
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
..
Experience Upgrades Fix crash when fetching remote megaphones 2022-11-17 12:21:54 -08:00
Jobs Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
protobuf Add CDSv2 2022-12-14 16:30:35 -08:00
Resources Add CDSv2 2022-12-14 16:30:35 -08:00
src Fix bugs marking SignalRecipients as registered 2023-01-03 13:23:33 -08:00
tests Fix bugs marking SignalRecipients as registered 2023-01-03 13:23:33 -08:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
SignalServiceKit-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalServiceKit.h Swiftify OWSDisappearingMessagesFinder 2022-12-13 17:11:50 -06:00