From 1365068af1a6e1f6d5544d4f0001e6fa499d8721 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 13 Apr 2019 17:03:33 +0300 Subject: Send read event to SSE clients --- src/main/java/com/juick/server/ServerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3