     revivedMessages = (mapActivity message for message in messages)
     return revivedMessages
 
+  mapActivities: mapActivities
+
   getCurrentGroup = (callback)->
     groupsController = KD.getSingleton "groupsController"
     groupsController.ready ->


    return m

  mapActivities: mapActivities
  mapActivities = (messages)->
    # if no result, no need to do something
    return messages unless messages

    # bind all events
    registerAndOpenChannels revivedChannels
    return revivedChannels
  mapChannels: mapChannels


  forwardMessageEvents = (source, target,  events)->
    events.forEach (event) ->
