lib/sinatra/cometio.rb in sinatra-cometio-0.0.3 vs lib/sinatra/cometio.rb in sinatra-cometio-0.0.4
- old
+ new
@@ -7,10 +7,10 @@
class CometIO
def self.sessions
@@sessions ||= Hash.new{|h,session_id|
h[session_id] = {
- :queue => [{:type => :set_session_id, :data => session_id}],
+ :queue => [{:type => :__session_id, :data => session_id}],
:stream => nil,
:last => nil
}
}
end