mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-10 14:32:46 +02:00
correctly deletes a slave note
This commit is contained in:
@@ -667,11 +667,11 @@ object LocalCache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Counts the replies
|
// Counts the replies
|
||||||
it.replyTo?.forEach { replyingNote ->
|
it.replyTo?.forEach { masterNote ->
|
||||||
it.removeReply(it)
|
masterNote.removeReply(it)
|
||||||
it.removeBoost(it)
|
masterNote.removeBoost(it)
|
||||||
it.removeReaction(it)
|
masterNote.removeReaction(it)
|
||||||
it.removeZap(it)
|
masterNote.removeZap(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
notes.remove(it.idHex)
|
notes.remove(it.idHex)
|
||||||
|
Reference in New Issue
Block a user