This commit is contained in:
Igor Zhukov 2014-03-02 19:37:04 +01:00
parent 1fbc7d01e5
commit 82b2a0c95f

View File

@ -372,7 +372,7 @@ angular.module('myApp.services', [])
participant.user = AppUsersManager.getUser(participant.user_id);
participant.userPhoto = AppUsersManager.getUserPhoto(participant.user_id, 'User');
participant.inviter = AppUsersManager.getUser(participant.inviter_id);
participant.canKick = myID != participant.user_id && (myID == chat.admin_id || myID == participant.inviter_id);
participant.canKick = myID != participant.user_id && (myID == chatFull.participants.admin_id || myID == participant.inviter_id);
});
});
}