aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 14:03:46 +0300
committerGravatar Vitaly Takmazov2018-05-10 14:03:46 +0300
commit92d6239a05f2eefa69505e4e6570045290b00b94 (patch)
treea137e68aa53553d13733d05135af23511f10bcb6 /juick-notifications
parentd1cbf30bf1de274ca33d51e52603c9422b7874d1 (diff)
message read event logging
Diffstat (limited to 'juick-notifications')
-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 4e6743d4..32ae1dc6 100644
--- a/juick-notifications/src/main/java/com/juick/components/Notifications.java
+++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java
@@ -198,6 +198,7 @@ public class Notifications extends TextWebSocketHandler implements NotificationC
});
}
private void serviceMessageReceived(@Nonnull com.juick.Message jmsg) {
+ logger.info("Message read event from {} for {}", jmsg.getUser().getName(), jmsg.getMid());
// iOS
List<User> users = rest.exchange(String.format("http://api.juick.com/notifications?uid=%d",
jmsg.getUser().getUid()),