Fixed broadcasting of ajax long pooling fallback.
This commit is contained in:
parent
bfb32e6933
commit
d39b288b31
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class LongPollingController < ApplicationController
|
||||||
# list all current clients
|
# list all current clients
|
||||||
client_list = Session.list
|
client_list = Session.list
|
||||||
client_list.each {|local_client_id, local_client|
|
client_list.each {|local_client_id, local_client|
|
||||||
if local_client_id != client_id
|
if local_client_id.to_s != client_id.to_s
|
||||||
|
|
||||||
# broadcast to recipient list
|
# broadcast to recipient list
|
||||||
if params['data']['recipient'] && params['data']['recipient']['user_id']
|
if params['data']['recipient'] && params['data']['recipient']['user_id']
|
||||||
|
|
Loading…
Reference in a new issue