From 531b042d7717a2fa357c246e6e6bfe5a918bfe1e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 25 Oct 2018 15:51:07 +0300 Subject: SSE: send all to service user --- juick-server/src/main/java/com/juick/server/ServerManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-server/src') diff --git a/juick-server/src/main/java/com/juick/server/ServerManager.java b/juick-server/src/main/java/com/juick/server/ServerManager.java index 0183c616..6aba7212 100644 --- a/juick-server/src/main/java/com/juick/server/ServerManager.java +++ b/juick-server/src/main/java/com/juick/server/ServerManager.java @@ -196,6 +196,7 @@ public class ServerManager implements NotificationListener { .forEach(b -> messagesService.setLastReadComment(b, reply.getMid(), reply.getRid())); onJuickMessageReply(reply, subscribedUsers); } + sendSseEvent(jmsg, Collections.singletonList(serviceUser)); } @Override -- cgit v1.2.3