Signal-iOS/SignalServiceKit/src/Account
Evan Hahn 760e5c1c97
Add PNI registration ID to account attributes
Like "regular" registration IDs, this attaches a PNI registration ID to
account attributes. It's already synced at the right times (see
[`updateAccountAttributesIfNecessaryAttempt`][0]).

Tested this by registering and seeing the payload correctly sent to the
server.

See also: [Android's implementation][1].

[0]: 487405ef08/SignalServiceKit/src/Account/TSAccountManager.swift (L137)
[1]: 6e5f28339d/libsignal/service/src/main/java/org/whispersystems/signalservice/internal/push/PushServiceSocket.java (L378)
2022-10-05 16:13:33 -05:00
..
AccountServiceClient.swift Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
CreatePreKeysOperation.swift Reset the identity key if initial pre-key creation fails 2022-04-22 18:11:42 -07:00
RefreshPreKeysOperation.swift Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
RotateSignedKeyOperation.swift Move throttling logic inside RotateSignedKeyOperation 2022-04-07 14:06:27 -07:00
TSAccountManager.h Clean up registration ID generation 2022-10-05 14:09:07 +00:00
TSAccountManager.m Clean up registration ID generation 2022-10-05 14:09:07 +00:00
TSAccountManager.swift Add PNI registration ID to account attributes 2022-10-05 16:13:33 -05:00
TSPreKeyManager.h TSPreKeyManager: check for PNI signed pre-key upload failure too 2022-04-07 10:23:39 -07:00
TSPreKeyManager.m Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
TSPreKeyManager.swift Deprecate REST, Part 1 2021-08-18 14:25:36 -03:00