Add group update paging feature flag.

This commit is contained in:
Cody Henthorne
2022-01-05 10:18:49 -05:00
committed by Alex Hart
parent ee48a1ae25
commit 4dae424a5c
2 changed files with 11 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ public final class GroupsV2StateProcessor {
if (inputGroupState == null) {
try {
if (FeatureFlags.internalUser()) {
if (FeatureFlags.groupsV2UpdatePaging()) {
return updateLocalGroupFromServerPaged(revision, localState, timestamp);
} else {
boolean latestRevisionOnly = revision == LATEST && (localState == null || localState.getRevision() == GroupsV2StateProcessor.RESTORE_PLACEHOLDER_REVISION);