     byId                 : channelRequesterFn
       fnName             : 'byId'
       validateOptionsWith: ['id']
-      mapperFn           : mapChannels
+      mapperFn           : mapChannel
 
     byName               : channelRequesterFn
       fnName             : 'byName'
       validateOptionsWith: ['name']
-      mapperFn           : mapChannels
+      mapperFn           : mapChannel
 
     list                 : channelRequesterFn
       fnName             : 'fetchChannels'

    data.publicFeed       = processInCase mapActivities, publicFeed

    return data

  openGroupChannel: ->
    # to - do refactor this part to use same functions with other parts

    mappedChannels = []

    for channelContainer in messages
      message             = mapActivity channelContainer.lastMessage
      channel             = mapChannel channelContainer
      channel.lastMessage = message

      mappedChannels.push channel
