Suyious / purrr.frontend

Frontend for Purrr - Chat Application that connects randomly among online users
https://purrr.chat
1 stars 2 forks source link

Bug: Read message implementation is incomplete #37

Open HarshNarayanJha opened 4 hours ago

HarshNarayanJha commented 4 hours ago

The frontend just marks a message as read if the chat window is scrolled enough to the bottom.

We should use something like window.onblur and window.onfocus or document.onvisibilitychange events to actually mark the message as read (or the UserActivation API) Along with the scrollBottom implementation.

Suyious commented 3 hours ago

I am already working on this. It's only incompletely implemented, not incorrectly implemented since the current functionality is also needed. However, you can work on it. Just know that I am also working on it.