       channelThread         : getters.selectedChannelThread
       channelThreadMessages : getters.selectedChannelThreadMessages
       channelParticipants   : getters.selectedChannelParticipants
+      followedChannels      : getters.followedPrivateChannelThreads
     }
 
 

      channelParticipants   : immutable.List()


  componentDidMount: -> reset @props


  componentWillReceiveProps: (nextProps) -> reset nextProps


  renderHeader: ->


React.Component.include.call PrivateMessageThreadPane, [KDReactorMixin]

reset = (props, state) ->

  { followedChannels, channelThread } = state
  { privateChannelId } = props.routeParams
  {
    thread : threadActions,
    channel : channelActions,
    message : messageActions } = ActivityFlux.actions

  unless privateChannelId
    unless channelThread
      botChannel = kd.singletons.socialapi.getPrefetchedData 'bot'
      privateChannelId = botChannel.id

  if privateChannelId
    channelActions.loadChannel('private', privateChannelId).then ({ channel }) ->
      threadActions.changeSelectedThread channel.id
      messageActions.loadMessages channel.id
      channelActions.loadParticipants channel.id, channel.participantsPreview
  else if not channelThread
    threadActions.changeSelectedThread null

