fixed #1073, websocket should now work again for some people at least
This commit is contained in:
parent
401b198bbf
commit
18859a2fba
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ begin
|
|||
|
||||
debug_pp cookie
|
||||
|
||||
user_id = cookie["warden.user.user.key"].last
|
||||
user_id = cookie["warden.user.user.key"][1].first
|
||||
|
||||
debug_pp "In WSS, suscribing user: #{User.find(user_id).name} with id: #{user_id}"
|
||||
sid = Diaspora::WebSocket.subscribe(user_id, ws)
|
||||
|
|
|
|||
Loading…
Reference in a new issue