aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 14:20:19 +0300
committerGravatar Vitaly Takmazov2018-05-10 14:20:19 +0300
commit78bc4cd5b9383320e989183942ba9ca11252a917 (patch)
tree48a963dca7692b9edae7e22f0101f8f32d06e21c /juick-notifications/src/main/java/com
parent87773235eb18e5b711f1d1e09a017322229c623c (diff)
notifications: do not process message read event twice
Diffstat (limited to 'juick-notifications/src/main/java/com')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/Notifications.java1
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<>();