Open MakeApps opened 11 years ago
Please contact support@pusher.com for this kind of issue. Thanks
On 17 Mar 2013, at 05:56, Manish Mourya notifications@github.com wrote:
Event recd : {"event":"pusher_internal:subscription_succeeded","data":{"presence":{"count":2,"ids":["1","2"],"hash":{"1":{"user_name":"First User","gravatar":""},"2":{"gravatar":""}}}},"channel":"presence-chat"}
For second user, I'm not getting the "user_name":
For I changed my pusher auth function
if current_user.id response = channel.authenticate(params[:socket_id], { :user_id => current_user.id, :user_info => { :user_name => current_user.name, :gravatar => '' } }) render :json => response
Please guide where to modify the script so that we wil gets second user full data...
— Reply to this email directly or view it on GitHub.
Event recd : {"event":"pusher_internal:subscription_succeeded","data":{"presence":{"count":2,"ids":["1","2"],"hash":{"1":{"user_name":"First User","gravatar":""},"2":{"gravatar":""}}}},"channel":"presence-chat"}
For second user, I'm not getting the "user_name":
I changed my pusher auth function
if current_user.id response = channel.authenticate(params[:socket_id], { :user_id => current_user.id, :user_info => { :user_name => current_user.name, :gravatar => '' } }) render :json => response
Please guide where to modify the script so that we will gets second user full data... with username..