       userName = user.getIn(['profile', 'nickname']).toLowerCase()
       return userName.indexOf(query) is 0
 ]
-chatInputUsersRawIndex      = (stateId) -> [
+chatInputUsersRawIndex = (stateId) -> [
   ChatInputUsersSelectedIndexStore
   (indexes) -> indexes.get stateId
 ]

  (visibilities) -> visibilities.get stateId
]

chatInputSearchItems         = (stateId) -> [
  ChatInputSearchStore
  (searchStore) -> searchStore.get stateId
]
chatInputSearchQuery         = (stateId) -> [
  ChatInputSearchQueryStore
  (queries) -> queries.get stateId
]
chatInputSearchRawIndex      = (stateId) -> [
  ChatInputSearchSelectedIndexStore
  (indexes) -> indexes.get stateId
]

      channelName = channel.get('name').toLowerCase()
      return channelName.indexOf(query) is 0
]
chatInputChannelsRawIndex = (stateId) -> [
  ChatInputChannelsSelectedIndexStore
  (indexes) -> indexes.get stateId
]
