mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
This commit is contained in:
parent
7cb0158331
commit
01f63792f8
1 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,13 @@ public class ProfileFetcherJob: NSObject {
|
|||
profileNameEncrypted: signalServiceProfile.profileNameEncrypted,
|
||||
avatarUrlPath: signalServiceProfile.avatarUrlPath)
|
||||
|
||||
// Recipients should be in "UD delivery mode" IFF:
|
||||
//
|
||||
// * Their profile includes a unidentifiedAccessVerifier.
|
||||
// * The unidentifiedAccessVerifier matches the "expected" value derived
|
||||
// from their profile key (if any).
|
||||
//
|
||||
// Recipients should be in "normal delivery mode" otherwise.
|
||||
var supportsUnidentifiedDelivery = false
|
||||
if let unidentifiedAccessVerifier = signalServiceProfile.unidentifiedAccessVerifier,
|
||||
let udAccessKey = udManager.udAccessKeyForRecipient(recipientId) {
|
||||
|
|
Loading…
Reference in a new issue