bugfix: don't remove from public bookmarks when removing from private

This commit is contained in:
davotoula
2025-10-14 13:31:27 +02:00
parent 85bdf67ac3
commit 3a3d1a6f25
@@ -134,7 +134,7 @@ class BookmarkListEvent(
val privateTags = earlierVersion.privateTags(signer) ?: throw SignerExceptions.UnauthorizedDecryptionException() val privateTags = earlierVersion.privateTags(signer) ?: throw SignerExceptions.UnauthorizedDecryptionException()
resign( resign(
privateTags = privateTags.remove(bookmarkIdTag.toTagIdOnly()), privateTags = privateTags.remove(bookmarkIdTag.toTagIdOnly()),
tags = earlierVersion.tags.remove(bookmarkIdTag.toTagIdOnly()), tags = earlierVersion.tags,
signer = signer, signer = signer,
createdAt = createdAt, createdAt = createdAt,
) )