Fix Call Log snap and ordering.

This commit is contained in:
Alex Hart
2023-04-13 14:19:04 -03:00
committed by Greyson Parrelli
parent 94b308cecb
commit a3574292c6
2 changed files with 27 additions and 8 deletions

View File

@@ -50,6 +50,7 @@ class ConversationSettingsRepository(
SignalDatabase.messages.getMessages(messageIds).iterator().asSequence()
.filter { callMap.containsKey(it.id) }
.map { callMap[it.id]!! to it }
.sortedByDescending { it.first.timestamp }
.toList()
}
}