mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
A pin outlived its node: delete_node and complete_trash_op dropped the node row but not the pin, and unpin resolves the pin's path first, so a pin of a deleted file could never be removed. Both now delete the pin in the same transaction, and Unpin falls back to dropping a pin by the path it is recorded under when that path no longer resolves. The Storage page also stops polling that file's thumbnail. By-uid sharing requests proved ownership only through the live tree, the mirror index or the Photos timeline, so a share of a file in a folder not loaded this session could not be stopped from Shared by me. Drive's shared-by-me list now counts as that proof when the others find nothing.