Skip to content

Conversation

HomerSp
Copy link
Contributor

@HomerSp HomerSp commented Dec 11, 2020

As can be seen in eg #1242 the presence indicator does not work currently. This is caused by a few different issues, for one they did some server-side changes to some object names, causing the initial presence loading to not work. They also completely removed the presence value from the server event, and it is instead replaced by a null. I fixed this by instead relying on the timestamp in that message, which will be checked against the self presence timestamp and if it's older than an offset (15 minutes currently because that seems to be what it is in the web app) the user will be marked as not present.

…properly.

Use last seen time to determine presence as the old way isn't working anymore.
@averissimo
Copy link
Member

Looks really good!

@averissimo averissimo merged commit c17ee07 into yakyak:master Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants