summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/groupsindexer/SyncGroups.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2020-09-12 21:43:43 -0700
committerJesse Morgan <jesse@jesterpm.net>2020-09-12 21:43:43 -0700
commita87a6679bdc7527d5cb426573b8aefd4b04b6b5d (patch)
tree721318cffc81dd8f4714303182cdf3e10fe8091f /src/main/java/com/p4square/groupsindexer/SyncGroups.java
parent52680ba043f42c3687840fe7421b84128c7a076b (diff)
Also include growth groups.HEADmaster
Diffstat (limited to 'src/main/java/com/p4square/groupsindexer/SyncGroups.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;
}