aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-server/src/main/java/com/juick/server/api/Service.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Service.java b/juick-server/src/main/java/com/juick/server/api/Service.java
index 3cf3ac28..f38078d5 100644
--- a/juick-server/src/main/java/com/juick/server/api/Service.java
+++ b/juick-server/src/main/java/com/juick/server/api/Service.java
@@ -150,9 +150,6 @@ public class Service {
userService.updateLastSeen(visitor);
}
SseEmitter emitter = new SseEmitter(600000L);
- Message service = new Message();
- service.setService(true);
- emitter.send(service);
serverManager.getSessions().add(new ServerManager.EventSession(visitor, emitter));
emitter.onCompletion(() -> endSession(emitter));