fix: made sure items in getMessagesBySenderAndSentAt are unique

pull/2757/head
William Grant 2 years ago
parent 9b1be604b1
commit e8b5f399f7

@ -1089,7 +1089,7 @@ function getMessagesBySenderAndSentAt(
rows.push(..._rows);
}
return map(rows, row => jsonToObject(row.json));
return uniq(map(rows, row => jsonToObject(row.json)));
}
function filterAlreadyFetchedOpengroupMessage(

Loading…
Cancel
Save