Newly subscribed federated communities have incorrect post_aggregates.published
and newest_comment_time
from outbox
#1402
Labels
bug
Something isn't working
https://lemmy.ml/post/51497
On a subscribe to a federated community, it fetches the outbox. That outbox correctly sets the
post.published
, but our actual post sorting usespost_aggregates.published
andpost_aggregates.newest_comment_time
, both of which have default inserts ofnow()
.The best way might be to alter this table trigger, to make sure it doesn't use those defaults:
But that is contingent on the original post insert in the federated code using correct values, and not setting them after the fact.
The text was updated successfully, but these errors were encountered: