 
     super
 
-    @state = { addNewParticipantMode: no, showAllParticipants: no, value: '' }
+    @state =
+      value                 : ''
+      isGroupAdmin          : no
+      showAllParticipants   : no
+      addNewParticipantMode : no
 
 
   getDataBindings: ->


    DropboxInputMixin.onEnter.call this, event

    if @isGroupAdmin() and @isGroupChannel()

      value        = event.target.value.trim()
      isValidEmail = validator.isEmail value

    channel.setChannelParticipantsDropdownVisibility yes


  isUserGroupAdmin: ->

    { groupsController } = kd.singletons

    groupsController.ready =>
      currentGroup = groupsController.getCurrentGroup()
      currentGroup.fetchMyRoles (err, roles) =>
        return showErrorNotification err  if err

        if 'admin' in (roles ? [])
          return @setState isGroupAdmin: yes
        else
          return @setState isGroupAdmin: no


  isGroupChannel: ->
