aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-13 17:03:33 +0300
committerGravatar Vitaly Takmazov2019-04-13 17:03:33 +0300
commit1365068af1a6e1f6d5544d4f0001e6fa499d8721 (patch)
treea48fd6b0126cdd97e8aa0e537653079e61bc2995 /src/main/java/com
parentc3cb8dcb35e2d9e3402c050b9da51098f20c8d5b (diff)
Send read event to SSE clients
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/server/ServerManager.java2
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