fixed bug in view friend list

@Nour2610 @alloka @madostar  plz review me