diff options
author | Vitaly Takmazov | 2018-05-10 14:20:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-05-10 14:20:19 +0300 |
commit | 78bc4cd5b9383320e989183942ba9ca11252a917 (patch) | |
tree | 48a963dca7692b9edae7e22f0101f8f32d06e21c /juick-notifications | |
parent | 87773235eb18e5b711f1d1e09a017322229c623c (diff) |
notifications: do not process message read event twice
Diffstat (limited to 'juick-notifications')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/Notifications.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java index 32ae1dc6..7b3f823e 100644 --- a/juick-notifications/src/main/java/com/juick/components/Notifications.java +++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java @@ -94,6 +94,7 @@ public class Notifications extends TextWebSocketHandler implements NotificationC public void messageReceived(@Nonnull com.juick.Message jmsg) { if (jmsg.isService()) { serviceMessageReceived(jmsg); + return; } User pmTo = jmsg.getTo(); final List<User> users = new ArrayList<>(); |