How To Change Member Info In Pusher?
I am using Pusher (Javascript Client and PHP Server libraries) to develop a realtime multiuser app. To assign the state of each user, I have assigned a custom variable (test) for e
Solution 1:
You can't change this and have it persisted to the Pusher service at the moment.
The only option for this is a bit of a hack.
- Disconnect the user
pusher.disconnect()
- Connect the user and as part of the presence authentication provide updated member information (
user_info
)
When I worked at Pusher this was a reasonably frequently requested feature so I'd also recommend dropping Pusher support a note to request this feature.
Post a Comment for "How To Change Member Info In Pusher?"