mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-10 21:09:40 +02:00
correctly deletes a slave note
This commit is contained in:
parent
5e066e2485
commit
ba21ae47ae
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user