mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-03 11:09:30 +02:00
1. with scheduled topics, pid is no longer reliable, lower pid can have higher timestamp(scheduled in the future) so use timestamp for sorting teasers 2. when restoring/deleting topics, update the teaser tid as the last step because it checks topicData.deleted