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

Bug: Adding a limit to group messages method causes direction to be ignored #389

Open
alexrisch opened this issue May 24, 2024 · 0 comments
Labels
bug Something isn't working Client App

Comments

@alexrisch
Copy link
Contributor

alexrisch commented May 24, 2024

Describe the bug

Only Seen on iOS

   A group with 3 messages
   When requesting without pagination it will return in the expected order
   
   Once setting limit the first message will be returned 
    await group.messages(false, {
      limit: 1,
    });
    Setting either direction "direction: 'SORT_DIRECTION_DESCENDING'," or 'SORT_DIRECTION_ASCENDING' the first message will still be returned

Expected behavior

Setting limit should not change the direction of pagination

Steps to reproduce the bug

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Client App
Projects
None yet
Development

No branches or pull requests

2 participants