Fixed #116
This commit is contained in:
parent
1fbc7d01e5
commit
82b2a0c95f
@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user