       dispatch LOAD_CHANNEL_BY_NAME_FAIL, { err }
       return
 
+    realtimeActionCreators.wrapChannel channel
     dispatch LOAD_CHANNEL_SUCCESS, { channelId: channel.id, channel }
     MessageActions.loadMessages channel.id
 

kd                = require 'kd'
actionTypes       = require './actiontypes'
fetchChatChannels = require 'activity/util/fetchChatChannels'
isKoding          = require 'app/util/isKoding'
getGroup          = require 'app/util/getGroup'
MessageActions    = require './message'
{ actions: appActions } = require 'app/flux'

dispatch = (args...) -> kd.singletons.reactor.dispatch args...


    kd.singletons.reactor.batch ->
      channels.forEach (channel) ->
        realtimeActionCreators.wrapChannel channel
        dispatch LOAD_FOLLOWED_PUBLIC_CHANNEL_SUCCESS, { channel, options }


