aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-07-07 15:11:29 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-07-07 15:11:29 -0400
commit069554e9253a47f99225e12cc0ee99700fb89c6e (patch)
tree77b9304871aaf2d9d7ef0958c34eada3974cf999 /docs
parentf84ed44cea1e5793dd899c74c38336a1721889e6 (diff)
downloadpleroma-069554e9253a47f99225e12cc0ee99700fb89c6e.tar.gz
Guard against outdated Updates
It is possible for an earlier Update to be received by us later. For this, we now (1) only allows Updates to poll counts if there is no updated field, or the updated field is the same as the last updated date or creation date; (2) does not allow updating anything if the updated field is older than the last updated date or creation date; (3) allows updating updatable fields otherwise (normal updates); (4) if only the updated field is changed, it does not create a new history item on its own.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions