 
     PREVIEW_COUNT = @getPreviewCount()
 
-    participants = participants.slice(0, PREVIEW_COUNT)
+    participants = participants.slice 0, PREVIEW_COUNT
 
-    @renderAvatars(participants, no)
+    @renderAvatars participants, no
 
 
   renderNickname: (participant, isNicknameVisible)->

  renderAvatars: (participants, isNicknameVisible) ->

    participants.toList().map (participant) =>
      <div key={participant.get 'id'} className="ChannelParticipantAvatars-singleBox">
        <ProfileLinkContainer account={participant.toJS()}>
          <div>
            <Avatar
              className="ChannelParticipantAvatars-avatar"
              width={30}
              account={participant.toJS()}
              height={30} />
            {@renderNickname(participant, isNicknameVisible)}
          </div>
        </ProfileLinkContainer>
      </div>


    { participants } = @props

    <div className='ChannelParticipantAvatars-allParticipantsMenu'>
      <div className='ChannelParticipantAvatars-allParticipantsMenuContainer'>
        <div className='ChannelParticipantAvatars-allParticipantsMenuTitle'>Other participants</div>
        {@renderAvatars(participants, yes)}
      </div>
    </div>
