Fixed bug

This commit is contained in:
Pierre 2017-12-31 17:15:49 +01:00
parent f660ca1f9c
commit cd3570c114

View File

@ -119,8 +119,14 @@ public class ConversationsListHelper {
//Get the ID of the three first members //Get the ID of the three first members
ArrayList<Integer> membersToGet = new ArrayList<>(); ArrayList<Integer> membersToGet = new ArrayList<>();
int num = 0;
for(int ID : members){ for(int ID : members){
membersToGet.add(ID); membersToGet.add(ID);
num++;
if(num > 3)
break;
} }
//Get information about the users //Get information about the users