This change ensures the 'hidden' value gets updated when the draft attribute is modified.
I tested this running prose ssh locally and scp'ing various files modifying the draft back and forth to ensure it updated. Also tried with new files using draft and not using draft, adding draft after the fact, etc.
I'm new to golang and this codebase, so it's very possible I missed something with this.
This change ensures the 'hidden' value gets updated when the draft attribute is modified.
I tested this running prose ssh locally and scp'ing various files modifying the draft back and forth to ensure it updated. Also tried with new files using draft and not using draft, adding draft after the fact, etc.
I'm new to golang and this codebase, so it's very possible I missed something with this.