Don't be so noisy with pusher subscription
This commit is contained in:
parent
0ae751f7dc
commit
dc2daeafdc
|
@ -28,7 +28,6 @@ TravisPusher.prototype.unsubscribeAll = (channels) ->
|
||||||
TravisPusher.prototype.subscribe = (channel) ->
|
TravisPusher.prototype.subscribe = (channel) ->
|
||||||
return unless channel
|
return unless channel
|
||||||
channel = @prefix(channel)
|
channel = @prefix(channel)
|
||||||
console.log("subscribing to #{channel}")
|
|
||||||
unless @pusher?.channel(channel)
|
unless @pusher?.channel(channel)
|
||||||
@pusher.subscribe(channel).bind_all((event, data) => @receive(event, data))
|
@pusher.subscribe(channel).bind_all((event, data) => @receive(event, data))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user