Add documentation

This commit is contained in:
Niels Andriesse 2019-11-06 16:09:20 +11:00
parent c23b6782e8
commit ca1a419a45
1 changed files with 3 additions and 0 deletions

View File

@ -1440,6 +1440,9 @@ NS_ASSUME_NONNULL_BEGIN
// TODO: Do we need to fetch the device mapping here?
// Loki: A message from a secondary device should appear as if it came from the primary device; the underlying
// friend request logic, however, should still be specific to the secondary device.
// Loki: Get the master hex encoded public key and thread
NSString *hexEncodedPublicKey = envelope.source;
NSString *masterHexEncodedPublicKey = ([LKDatabaseUtilities getMasterHexEncodedPublicKeyFor:envelope.source in:transaction] ?: envelope.source);