diff options
author | Vitaly Takmazov | 2019-04-13 17:03:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-04-13 17:03:33 +0300 |
commit | 1365068af1a6e1f6d5544d4f0001e6fa499d8721 (patch) | |
tree | a48fd6b0126cdd97e8aa0e537653079e61bc2995 | |
parent | c3cb8dcb35e2d9e3402c050b9da51098f20c8d5b (diff) |
Send read event to SSE clients
-rw-r--r-- | src/main/java/com/juick/server/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/ServerManager.java b/src/main/java/com/juick/server/ServerManager.java index 46faf9eb..5e0baf6a 100644 --- a/src/main/java/com/juick/server/ServerManager.java +++ b/src/main/java/com/juick/server/ServerManager.java @@ -133,7 +133,7 @@ public class ServerManager implements NotificationListener { serviceMessage.setUser(user); serviceMessage.setMid(source.getMid()); serviceMessage.setUnread(false); - readEvent(serviceMessage, Collections.singletonList(serviceUser)); + readEvent(serviceMessage, Arrays.asList(serviceUser, user)); } @Override |