todo: keep when an offline post was written, and show all of a post's times #meta #todo
Posts now carry more than one time, and nothing shows them side by side.
For a post written offline, the time it was written isn't kept in the post at all. A queued post is prepared and signed when it's sent, after reconnecting, so its signed Created-At is the send time. The writing time lives only in the local Outbox item. Offline Likes are different: they're signed when you press Like.
The times a post can have:
Created-At, the signed header in the record.
The OpenPGP signature's own creation time.
Received-At, the server's receipt, written only when Created-At is more than 10 minutes off.
The Git commit time.
For queued posts: when it was written and when it was sent, both kept only on the device.
What done looks like:
A post's details show every time it has, labeled, so they can be compared. They live somewhere unobtrusive, like the post's source or a details row.
A post written offline keeps when it was written, either signed at writing time or carried as a separate signed header, so it isn't lost when it's sent later.
A big gap between times stands out.