Enable AccountEntropyPool
This commit is contained in:
parent
5a516facc9
commit
f6ee99fe33
@ -38,10 +38,7 @@ public class AccountKeyStore {
|
||||
}
|
||||
|
||||
public func getMasterKey(tx: DBReadTransaction) -> MasterKey? {
|
||||
if
|
||||
FeatureFlags.enableAccountEntropyPool,
|
||||
let aepDerivedKey = getAccountEntropyPool(tx: tx)?.getMasterKey()
|
||||
{
|
||||
if let aepDerivedKey = getAccountEntropyPool(tx: tx)?.getMasterKey() {
|
||||
return aepDerivedKey
|
||||
}
|
||||
// No AEP? Try fetching from the legacy location
|
||||
|
||||
@ -60,7 +60,7 @@ public enum FeatureFlags {
|
||||
|
||||
public static let useNewConversationLoadIndex = true
|
||||
|
||||
public static let enableAccountEntropyPool = build.includes(.dev)
|
||||
public static let enableAccountEntropyPool = true
|
||||
|
||||
public static let libsignalForChat = build.includes(.beta)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user