mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Convert InternalValues to kotlin.
This commit is contained in:
@@ -291,7 +291,7 @@ final class GroupManagerV2 {
|
||||
|
||||
Set<GroupCandidate> groupCandidates = groupCandidateHelper.recipientIdsToCandidates(new HashSet<>(newMembers));
|
||||
|
||||
if (SignalStore.internal().gv2ForceInvites()) {
|
||||
if (SignalStore.internal().getGv2ForceInvites()) {
|
||||
groupCandidates = GroupCandidate.withoutExpiringProfileKeyCredentials(groupCandidates);
|
||||
}
|
||||
|
||||
@@ -792,7 +792,7 @@ final class GroupManagerV2 {
|
||||
GroupCandidate self = groupCandidateHelper.recipientIdToCandidate(Recipient.self().getId());
|
||||
Set<GroupCandidate> candidates = new HashSet<>(groupCandidateHelper.recipientIdsToCandidates(members));
|
||||
|
||||
if (SignalStore.internal().gv2ForceInvites()) {
|
||||
if (SignalStore.internal().getGv2ForceInvites()) {
|
||||
Log.w(TAG, "Forcing GV2 invites due to internal setting");
|
||||
candidates = GroupCandidate.withoutExpiringProfileKeyCredentials(candidates);
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ class GroupsV2StateProcessor private constructor(
|
||||
currentLocalState: DecryptedGroup?,
|
||||
groupRecord: Optional<GroupRecord>
|
||||
): Boolean {
|
||||
if (SignalStore.internal.gv2IgnoreP2PChanges()) {
|
||||
if (SignalStore.internal.gv2IgnoreP2PChanges) {
|
||||
Log.w(TAG, "$logPrefix Ignoring P2P group change by setting")
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user