Browse Source
move_cipher_selected called Cipher::move_to_folder in a loop, and every call bumped the same user's revision, so moving N ciphers did N identical revision updates. Add a variant that leaves the bump to the caller and use it for the bulk move, bumping once afterwards (also when a move fails halfway, as earlier ciphers are already moved). Cipher::move_to_folder itself is unchanged, so the single-cipher paths behave exactly as before. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RJZPtN8D6FXs3E2x85EodLpull/7840/head
2 changed files with 21 additions and 2 deletions
Loading…
Reference in new issue