Skip to content
Snippets Groups Projects
Commit 1cd1a9ff authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Correct an issue with message history

parent fb9c7ab5
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ class QuasselViewModel : ViewModel() {
recentlySentMessages.value =
listOf(message) +
recentlySentMessages.value.orEmpty()
.filter { it == message }
.filter { it != message }
.take(MAX_RECENT_MESSAGES - 1)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment