From 00603bedf6de18c6230229c5c75b1ddf0152e1b7 Mon Sep 17 00:00:00 2001 From: delvh Date: Thu, 16 Jul 2020 20:54:47 +0200 Subject: [PATCH] Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java Co-authored-by: CyB3RC0nN0R --- .../java/envoy/client/ui/controller/GroupCreationScene.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java b/client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java index be19bed..71c7dd4 100644 --- a/client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java +++ b/client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java @@ -152,7 +152,7 @@ public class GroupCreationScene { .map(Chat::getRecipient) .filter(Group.class::isInstance) .map(Contact::getName) - .anyMatch(groupName -> groupName.equals(newName)); + .anyMatch(newName::equals); } @FXML