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
Describe the bug
Client (i.e. SDK) is not fetching messages which are missing. Take this example. A and B have p2p topic. Both have seen upto 50 seqid. A goes offline (or even left this p2p topic, just so A is not acknowledging B's messages). B sends 50 messages to A. A subscribes to topic and ask for data from server. get:what:data:since=50,limit=24. Server will send 24 messages from 100-76. A's view is full. Now A scrolls to see earlier messages. Range 75-51 is missing. SDK doesn't call server to fetch those messages.
To Reproduce
Steps to reproduce the behavior:
Login with two users A and B such that they are upto x seqid.
A goes offline. B sends 50 messages such that latest seqid is x+50.
A comes online. A will see latest n messages i.e. x+50-n to x+50.
A scrolls to see more messages. A cannot see x to x+50-n messages. These are missing
Expected behavior
No messages should be missing unless and until deleted from server.
Screenshots
Sender:
Receiver(missing messages):
Environment (please complete the following information):
Describe the bug
Client (i.e. SDK) is not fetching messages which are missing. Take this example. A and B have p2p topic. Both have seen upto 50 seqid. A goes offline (or even left this p2p topic, just so A is not acknowledging B's messages). B sends 50 messages to A. A subscribes to topic and ask for data from server. get:what:data:since=50,limit=24. Server will send 24 messages from 100-76. A's view is full. Now A scrolls to see earlier messages. Range 75-51 is missing. SDK doesn't call server to fetch those messages.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No messages should be missing unless and until deleted from server.
Screenshots
Sender:
Receiver(missing messages):
Environment (please complete the following information):
Console log
missing-messages.zip
Additional context
This gets solved, if A clears its cache. Now all messages are fetched with page size.
The text was updated successfully, but these errors were encountered: