ATM if an owner deletes a linked item (eg a photo item) the item will not be deleted but only the item_hidden flag will be set. The problem with this approach is that later when the resource will be deleted the deletion of the linked item will not be propagated because we do not do this if the item_hidden flag is set.
There are no doubt some solutions to this problem. I would like to find out which direction we want to go since this behaviour is not consistent with the behaviour is not consistent with the deletion of "normal" items (which always propagate).
1. should we delete the resource if the linked item will be deleted?
2. should we not allow to delete linked items and only delete them if the resource is deleted?
3. should we propagate deletion of the linked item but keep the resource in tact?
4. should we only hide linked items in our timeline if they are deleted and keep the resource in tact and propagate deletion if the resource is deleted?
!!zotlabs.org | Hubzilla Development