Commit 588945e7 authored by Kiryl Vashyla's avatar Kiryl Vashyla

minor: fixme removed because it fixed

parent be16d670
......@@ -503,7 +503,6 @@ class ChatRoomPresenter @Inject constructor(
if (chatRoomId != null && chatRoomType != null) {
val roomType = roomTypeOf(chatRoomType!!)
messagesRepository.getByRoomId(chatRoomId!!)
//FIXME last message could not be sent
.sortedByDescending { it.timestamp }.firstOrNull()?.let { lastMessage ->
val lastSyncDate = messagesRepository.getLastSyncDate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment