slack
slack copied to clipboard
Fix historical thread message order during backfill
Fix thread order when backfilling history.
Currently when backfilling, the bridge seems to post thread messages in reverse chronological order.
Slack thread:
Matrix thread backfilled before this change:
Preventing the convertedMessages slice from being reversed for threads results in threads appearing in the expected order:
Matrix thread backfilled after this change:
Weird, I guess conversations.replies returns messages in the opposite order compared to conversations.history 🤔