I’m trying to write my own tracker but failing really hard.
Presence is working as expected, but my Tracker is not being called on handle_diff
(It’s an exact copy paste from those things, but as soon as I get home, I’ll write a small demo)
What I want to do with my own tracker is: When a user leaves the topic, I want to clean up his resources.
Taking into account that one user can have multiple connections to the channel (that’s why I’m trying to use Phoenix.Presence, but if there’s a better option it’s welcome)
Thanks for you attention!
Edit: Simple repo with my modifications (https://github.com/gugahoa/phoenix_tracker_example)