Hello dear reader.
Let’s assume I’m have channel called OrganizationChannel.
When user connect to his organization channel he received in after_join hook organization_users
message, that pushes all users that belongs to his organization. After that user received presence_state
message that show who currently online. It comes to my mind can’t it be accomplished with one init action for Presence.
In other words how to push List of users (init users) into Presence.track/3
? Is it good idea, though, or I should keep it in separate?
UPD: I found how to init Presence, but it still question is it good idea?