Skip to content

Conversation

@redgoat650
Copy link
Contributor

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

@tulir
Copy link
Member

tulir commented Oct 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants