Reputation: 4583
The user object in Pusher presence channels is initiated from the auth callback. This object is persisted and contains user info.
But how can you update this user info and have it keep that persistent state?
Upvotes: 1
Views: 898
Reputation: 15467
how can you update this user info and have it keep that persistent state?
Unfortunately you can't.
The only way to change this information is to unsubscribe the user from the channel and resubscribe. Upon re-subscription you can authenticate with the changed data.
Upvotes: 4