Asimovtech / held-android

0 stars 3 forks source link

Blinker display #12

Open swapnilt opened 8 years ago

swapnilt commented 8 years ago

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.

Asimovtech commented 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.