slack icon indicating copy to clipboard operation
slack copied to clipboard

Fix historical thread message order during backfill

Open redgoat650 opened this issue 1 year ago • 1 comments

Fix thread order when backfilling history.

Currently when backfilling, the bridge seems to post thread messages in reverse chronological order. Slack thread: thread-order-slack

Matrix thread backfilled before this change: thread-order-mautrix-slack-main

Preventing the convertedMessages slice from being reversed for threads results in threads appearing in the expected order: Matrix thread backfilled after this change: thread-order-mautrix-slack-fix

redgoat650 avatar Oct 22 '24 20:10 redgoat650

Weird, I guess conversations.replies returns messages in the opposite order compared to conversations.history 🤔

tulir avatar Oct 22 '24 20:10 tulir