         #@isLoading = no
         #log "fetchSomeActivities timeout reached"
 
-  #fetchCachedActivity:(options = {}, callback)->
-    #options.timestamp or= options.to
-    #options.groupName   = KD.getSingleton("groupsController").getCurrentGroup()?.slug or "koding"
-    #options.facets      = @getFilter()
-
-    #KD.remote.api.CStatusActivity.fetchPublicActivityFeed options, (err, result)=>
-      #result.overview.reverse() if result?.overview
-      #return callback err, result
-
-  #fetchActivity:(options = {}, callback)->
-    #options       =
-      #limit       : options.limit    or 20
-      #to          : options.to       or Date.now()
-      #facets      : options.facets   or @getFilter()
-      #originId    : options.originId or null
-      #sort        :
-        #createdAt : -1
-
-    #{CActivity}   = KD.remote.api
-    #options.feedType = @feedType
-
-    #if options.facets is activityTypes
-      #options.facets = ['Everything']
-
-    #if @feedType is "Public"
-      #options.groupId = KD.getSingleton("groupsController").getCurrentGroup().getId()
-
-      #@fetchActivitiesFromCache options, callback
-    #else
-      #CActivity.fetchFolloweeContents options, callback
-
   #isExempt:(callback)->
 
     #@appStorage.fetchStorage (storage) =>

      #exempt = flags?.indexOf 'exempt'
      #exempt = (exempt? and exempt > -1) or storage.getAt 'bucket.showLowQualityContent'
      #callback exempt

  #fetchActivitiesDirectly:(options = {}, callback)->
    #KD.time "Activity fetch took - "
    #options = to : options.to or Date.now()

    #@fetchActivity options, (err, teasers)=>
      #@isLoading = no
      #@listController.hideLazyLoader()
      #KD.timeEnd "Activity fetch took"

      #if err or teasers.length is 0
        #warn "An error occured:", err  if err
        #@listController.showNoItemWidget()
      #else
        #@extractTeasersTimeStamps(teasers)
        #@listController.listActivities teasers

      #callback? err, teasers


  fetchCurrentGroup:(callback)-> callback @currentGroupSlug

  listenToLazyThreshold:->
    @listController.once 'LazyLoadThresholdReached', @continueLoadingTeasers.bind @
    @listController.once 'teasersLoaded', @teasersLoaded.bind @

  continueLoadingTeasers:->
    if isNaN(@lastFrom)
      @listController.hideLazyLoader()
      return

    @populateActivity {to: @lastFrom}

  attachEvents:(controller)->
    activityController = KD.getSingleton('activityController')
    activityController.on 'ActivitiesArrived', @bound "activitiesArrived"
    activityController.on 'Refresh', @bound "refresh"

    @listController = controller
    @listenToLazyThreshold()

    @getView().widgetController.on "FakeActivityHasArrived", (activity)->
      controller.fakeActivityArrived activity
