mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Fixes multiple likes
This commit is contained in:
parent
e4dfb2b974
commit
4c15420b05
@ -90,7 +90,7 @@ class Account(
|
||||
fun reactTo(note: Note) {
|
||||
if (!isWriteable()) return
|
||||
|
||||
if (note.reactions.firstOrNull { it.author == userProfile() && it.event?.content == "+️" } != null) {
|
||||
if (note.reactions.firstOrNull { it.author == userProfile() && it.event?.content == "+" } != null) {
|
||||
// has already liked this note
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user