Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java

Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
This commit is contained in:
delvh 2020-07-16 20:54:47 +02:00 committed by GitHub
parent 96bfe489da
commit 00603bedf6

View File

@ -152,7 +152,7 @@ public class GroupCreationScene {
.map(Chat::getRecipient) .map(Chat::getRecipient)
.filter(Group.class::isInstance) .filter(Group.class::isInstance)
.map(Contact::getName) .map(Contact::getName)
.anyMatch(groupName -> groupName.equals(newName)); .anyMatch(newName::equals);
} }
@FXML @FXML