       @reachedEndOfActivities = yes
 
   # Store first & last cache activity timestamp.
-  extractCacheTimeStamps: (cache)->
-    @setLastTimestamps (new Date cache.from).getTime(), (new Date cache.to).getTime()
+  extractMessageTimeStamps: (messages)->
+    return  if messages.length is 0
+    from = new Date(messages.last.meta.createdAt).getTime()
+    to   = new Date(messages.first.meta.createdAt).getTime()
+    @setLastTimestamps to, from #from, to
 
   # Store first & last activity timestamp.
   extractTeasersTimeStamps:(teasers)->

      if @getFeedFilter() is "Public"
        @once "publicFeedFetched_#{eventSuffix}", (messages)=>
          reset()
          @extractCacheTimeStamps messages
          @listController.listActivities messages
          callback messages


      else
        @once "followingFeedFetched_#{eventSuffix}", (activities)=>
          reset()
          @extractMessageTimeStamps messages
          @listController.listActivities messages
          callback messages

