fixed #1073, websocket should now work again for some people at least

This commit is contained in:
MrZYX 2011-05-17 17:52:59 +02:00
parent 401b198bbf
commit 18859a2fba

View file

@ -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)