Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ interface MessageDao {
"""
SELECT * FROM messages
WHERE conversationHash = :peerHash AND identityHash = :identityHash
ORDER BY COALESCE(receivedAt, timestamp) DESC
ORDER BY COALESCE(receivedAt, timestamp) DESC, rowid DESC
""",
)
fun getMessagesForConversationPaged(
Expand All @@ -179,7 +179,7 @@ interface MessageDao {
"""
SELECT * FROM messages
WHERE conversationHash = :peerHash AND identityHash = :identityHash
ORDER BY timestamp DESC
ORDER BY timestamp DESC, rowid DESC
""",
)
fun getMessagesForConversationPagedBySentTime(
Expand Down
Loading