summaryrefslogtreecommitdiffstats
path: root/webapp/actions/channel_actions.jsx
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-02-24 01:15:10 +0000
committerChristopher Speller <crspeller@gmail.com>2017-02-23 20:15:10 -0500
commit8509c2f0b0893f8a7936a1943cc924db09bb62f4 (patch)
tree9b52c232fbc96fadaec26f0694ffc7e764651757 /webapp/actions/channel_actions.jsx
parentbc9f3dfa240b2a197859de006baf2eceaafe0fcf (diff)
downloadchat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.tar.gz
chat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.tar.bz2
chat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.zip
PLT-5080 (WebApp): Channel Admin permission level. (#5047)
* PLT-5080 (WebApp): Channel Admin permission level. For channel management and channel deletion. * Fix some incorrect showing/hiding of options. * Remove incorrect client calls that was overwriting my channel members.
Diffstat (limited to 'webapp/actions/channel_actions.jsx')
-rw-r--r--webapp/actions/channel_actions.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx
index 4b4e3e10c..08d8f1486 100644
--- a/webapp/actions/channel_actions.jsx
+++ b/webapp/actions/channel_actions.jsx
@@ -132,7 +132,6 @@ export function makeUserChannelAdmin(channelId, userId, success, error) {
userId,
'channel_user channel_admin',
() => {
- AsyncClient.getChannelMember(channelId, userId);
getChannelMembersForUserIds(channelId, [userId]);
if (success) {
@@ -153,7 +152,6 @@ export function makeUserChannelMember(channelId, userId, success, error) {
userId,
'channel_user',
() => {
- AsyncClient.getChannelMember(channelId, userId);
getChannelMembersForUserIds(channelId, [userId]);
if (success) {