diff --git a/turms-service/src/main/java/im/turms/service/domain/group/service/GroupMemberService.java b/turms-service/src/main/java/im/turms/service/domain/group/service/GroupMemberService.java index b1a2be1299..59572a514c 100644 --- a/turms-service/src/main/java/im/turms/service/domain/group/service/GroupMemberService.java +++ b/turms-service/src/main/java/im/turms/service/domain/group/service/GroupMemberService.java @@ -1344,7 +1344,7 @@ public Mono deleteAllGroupMembers( if (deletedCount == 0) { return OperationResultPublisherPool.ACKNOWLEDGED_DELETE_RESULT; } - if(isMemberCacheEnabled){ + if (isMemberCacheEnabled) { if (groupIds == null) { groupIdToMembersCache.invalidateAll(); } else {