correctly deletes a slave note

pull/167/head
Vitor Pamplona 2023-02-24 17:39:34 -05:00
rodzic 5e066e2485
commit ba21ae47ae
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -667,11 +667,11 @@ object LocalCache {
}
// Counts the replies
it.replyTo?.forEach { replyingNote ->
it.removeReply(it)
it.removeBoost(it)
it.removeReaction(it)
it.removeZap(it)
it.replyTo?.forEach { masterNote ->
masterNote.removeReply(it)
masterNote.removeBoost(it)
masterNote.removeReaction(it)
masterNote.removeZap(it)
}
notes.remove(it.idHex)