diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2019-11-16 16:06:48 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2019-11-16 16:06:48 -0800 |
commit | 52680ba043f42c3687840fe7421b84128c7a076b (patch) | |
tree | 86ef2d8d38b0d2eece92d802f4a403e04e5e4986 /src/main/java/com/p4square/groupsindexer/SyncGroups.java | |
parent | 0e65bbb642599fe756fc29ee11f8a0fea7f453ac (diff) |
Fix the filter for community groups
Originally, the group type was simply "Community". It has since
diversified into "PUY Community Groups", "SHC Community Groups", etc.
Diffstat (limited to 'src/main/java/com/p4square/groupsindexer/SyncGroups.java')
-rw-r--r-- | src/main/java/com/p4square/groupsindexer/SyncGroups.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/p4square/groupsindexer/SyncGroups.java b/src/main/java/com/p4square/groupsindexer/SyncGroups.java index acdf0bd..853be58 100644 --- a/src/main/java/com/p4square/groupsindexer/SyncGroups.java +++ b/src/main/java/com/p4square/groupsindexer/SyncGroups.java @@ -96,7 +96,7 @@ public class SyncGroups implements RequestHandler<ScheduledEvent, String> { continue; } - if (!profile.getGroupType().getName().equals("Community")) { + if (!profile.getGroupType().getName().contains("Community")) { LOG.info("Skipping non-Community group " + profile.getName()); continue; } |