Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sort order when using ?around #1155

Merged

Conversation

DEVTomatoCake
Copy link
Member

Currently, when using api/v9/channels/:id/messages?around=:id, it's (correctly) returning the messages before the specified message ID.

However, the messages after it are sorted in the wrong order to be filtered correctly, so it's always returning the most recent messages.

@MaddyUnderStars MaddyUnderStars merged commit 481cf38 into spacebarchat:master Jul 28, 2024
3 checks passed
@DEVTomatoCake DEVTomatoCake deleted the fix/msgs-around-param branch July 28, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants