You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load the latest message for each conversation using client.listBatchMessage. This method seems to ignore the limit parameter and fetches all messages for each conversation instead.
client.listBatchMessage respects the limit parameter in each conversation. It should return at most limit messages per each conversation.
Steps to reproduce the bug
final messages =await client.listBatchMessages(
conversations,
limit:1,
);
/// For 8 conversations and the limit of 1, it returns 141 messages. /// Instead, it should return 1 message for each conversation (8 in total).
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to load the latest message for each conversation using
client.listBatchMessage
. This method seems to ignore thelimit
parameter and fetches all messages for each conversation instead.It might be related to xmtp/xmtp-android#102.
Expected behavior
client.listBatchMessage
respects thelimit
parameter in each conversation. It should return at mostlimit
messages per each conversation.Steps to reproduce the bug
The text was updated successfully, but these errors were encountered: