summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/p4square/groupsindexer/SyncGroups.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/p4square/groupsindexer/SyncGroups.java b/src/main/java/com/p4square/groupsindexer/SyncGroups.java
index 853be58..fea79fb 100644
--- a/src/main/java/com/p4square/groupsindexer/SyncGroups.java
+++ b/src/main/java/com/p4square/groupsindexer/SyncGroups.java
@@ -96,8 +96,10 @@ public class SyncGroups implements RequestHandler<ScheduledEvent, String> {
continue;
}
- if (!profile.getGroupType().getName().contains("Community")) {
- LOG.info("Skipping non-Community group " + profile.getName());
+ if (!(profile.getGroupType().getName().contains("Community") ||
+ profile.getGroupType().getName().contains("Growth")))
+ {
+ LOG.info("Skipping non-Community/Growth group " + profile.getName());
continue;
}