diff --git a/.idea/misc.xml b/.idea/misc.xml
index 503aca7..33952c6 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -55,7 +55,7 @@
-
+
diff --git a/app/src/main/java/org/communiquons/android/comunic/client/data/conversations/ConversationsListHelper.java b/app/src/main/java/org/communiquons/android/comunic/client/data/conversations/ConversationsListHelper.java
index 169e3c4..ef7a604 100644
--- a/app/src/main/java/org/communiquons/android/comunic/client/data/conversations/ConversationsListHelper.java
+++ b/app/src/main/java/org/communiquons/android/comunic/client/data/conversations/ConversationsListHelper.java
@@ -117,9 +117,15 @@ public class ConversationsListHelper {
//Get the list of members of the conversation
ArrayList members = infos.getMembers();
+ //Get the ID of the three first members
+ ArrayList membersToGet = new ArrayList<>();
+ for(int ID : members){
+ membersToGet.add(ID);
+ }
+
//Get information about the users
ArrayMap users =
- new GetUsersHelper(mContext, dbHelper).getMultiple(members);
+ new GetUsersHelper(mContext, dbHelper).getMultiple(membersToGet);
if(users == null)
return ""; //No name by default