Problem with rainbowSDK.im.getMessagesFromConversation response
Hi.
We are using version 1.69.6 of the Rainbow sdk. We login with a user correctly.
I need to retrieve conversation messages from a bubble, I have used GetMessagesFromConversation, which is not returning any messages; the variable count returns zero (count=0) in their message list.
I think the problem is related to the response time, because when I executed the method for the third time I correctly get the information.
Now, I have tried to put the GetMessagesFromConversation call in a setInterval, and after 30-40 seconds the method returns the conversation with the message list.
The next times we call GetMessagesFromConversation it returns the list of messages quickly.
-
Hi,
what are the steps to reproduce this error? On which platform do you test it? Also, can you double-check the SDK version, the latest version is 1.69.0.
The method getMessagesFromConversation returns a promise so it should be working properly even when time to retrieve the conversation messages from the server seems to be a bit longer (for example due to the network issues).
You might find this link useful: https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/Chatting_with_Rainbow_users
Regards,
Konrad
Por favor, entrar para comentar.
Comentários
1 comentário