 
     DropboxInputMixin.onEnter.call this, event
 
-    if @isGroupAdmin() and @isGroupChannel()
+    if @state.isGroupAdmin and @isGroupChannel()
 
       value        = event.target.value.trim()
       isValidEmail = validator.isEmail value


    super

    @state = { addNewParticipantMode: no, showAllParticipants: no, value: '' }


  getDataBindings: ->

DropboxInputMixin           = require 'activity/components/dropbox/dropboxinputmixin'
getGroup                    = require 'app/util/getGroup'
validator                   = require 'validator'
showErrorNotification       = require 'app/util/showErrorNotification'


module.exports = class ChannelParticipantAvatars extends React.Component

