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 fa8872ccba
commit 4279c35d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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