diff options
author | 2018-10-25 15:51:07 +0300 | |
---|---|---|
committer | 2018-10-25 15:51:07 +0300 | |
commit | 531b042d7717a2fa357c246e6e6bfe5a918bfe1e (patch) | |
tree | 40d77f1caf27281a1a966dbde5b3863a175efd90 | |
parent | 17675c0588112fb5c97c4e1ef886f316a185baf0 (diff) |
SSE: send all to service user
-rw-r--r-- | juick-server/src/main/java/com/juick/server/ServerManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 |