Open swapnilt opened 8 years ago
the /posts/
GET api call returns two fields: latest_hold
and latest_message
. This should be used for the blinker. In case of hold, just checking the time should do. In case of message, you'll also need to check if the message is from the current user or not.
See if this works for you.
The blinker is shown to a user even if there was only 1 user who saw the post and the viewer was the user himself. Not sure if this is expected behavior.