aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ServerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/ServerManager.java')
-rw-r--r--src/main/java/com/juick/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ServerManager.java b/src/main/java/com/juick/ServerManager.java
index 50389705..a33d7d9a 100644
--- a/src/main/java/com/juick/ServerManager.java
+++ b/src/main/java/com/juick/ServerManager.java
@@ -168,6 +168,6 @@ public class ServerManager implements NotificationListener {
Message ping = new Message();
ping.setService(true);
sendSseEvent(ping, "ping", getSessions().stream().map(s -> s.user)
- .distinct().collect(Collectors.toList()));
+ .distinct().toList());
}
}