     TeamFlux.actions.loadPendingInvitations()
     TeamFlux.actions.loadDisabledUsers()
     AppFlux.actions.user.loadLoggedInUserEmail()
-
-    groupsController.on 'MembershipRoleChanged', (data) ->
-
-      { contents: { role, id, adminNick } } = data
-      reactor.dispatch 'UPDATE_TEAM_MEMBER_WITH_ID', { id, role }
-
-      if id is whoami()._id
-        modal = new MembershipRoleChangedModal
-          success: ->
-            modal.destroy()
-            global.location.reload yes
-        , { role, adminNick }
 
     groupsController.on 'InvitationChanged', (data) ->
 

HomeTeamPermissions  = require './hometeampermissions'
TeamFlux             = require 'app/flux/teams'
AppFlux              = require 'app/flux'
whoami               = require 'app/util/whoami'
remote               = require 'app/remote'
headerize = require '../commons/headerize'
sectionize = require '../commons/sectionize'

toImmutable = require 'app/util/toImmutable'
canSeeMembers = require 'app/util/canSeeMembers'
isAdmin = require 'app/util/isAdmin'

SECTIONS =
  'Invite Using Slack' : HomeTeamConnectSlack
