dnsbty / level10

Phoenix LiveView multiplayer card game

Home Page:https://level10.games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Presence is inaccurate

dnsbty opened this issue · comments

Currently Presence is inaccurate if a user opens a second session with the same player ID and then leaves either session.

Rather than store only if a user is present or not, we should maintain a count of the user's presences, and only remove them if that count reaches 0.