     channel.setChannelParticipantsDropdownVisibility yes
 
 
-  isGroupAdmin: ->
-
-    accountId    = whoami()._id
-    groupAdminId = @props.channelThread.getIn ['channel','accountOldId']
-
-    return accountId is groupAdminId
+  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: ->

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

module.exports = class ChannelParticipantAvatars extends React.Component



    super

    @state =
      value                 : ''
      isGroupAdmin          : no
      showAllParticipants   : no
      addNewParticipantMode : no


  getDataBindings: ->
