       return callback err  if err
 
 
-  isDisconnected: (err) ->
+  isPubNubDisconnected: (err) ->
     # I know this is so error prone, but they are not sending any error code; just message. :(
     return err?.message is 'Offline. Please check your network settings.'
 
 
-  reconnect: (channel, pbInstance) ->
-    KDTimeAgoView.emit 'OneMinutePassed'
+  reconnectToPubNubChannel: (channel, pbInstance) ->
+
+    kd.TimeAgoView.emit 'OneMinutePassed'
 
     @once 'Ping', (serverTimestamp) =>
 

      return @unsubscribeChannel message.channel


  handleError: (err) ->

    return  unless err

    { message, payload } = err

    if @isDisconnected err
      @lastSeenOnline = @serverTimestamp

    return kd.warn err  unless payload?.channels



  removeFromForbiddenChannels: (channelName) ->

    forbiddenChannels = @localStorage.getValue 'ForbiddenChannels'

    return  unless forbiddenChannels[channelName]
