Closed stephanoparaskeva closed 3 years ago
I also have the same issue. Did you find a solution?
I'm building the chat in OpenUI5 and when the onMessageListener events get fired I reload the model with the new data but the latest message is not there.
@stephanoparaskeva
@Friscas FYI
I am trying to build 1-to-1 chat, when user sends message, useMutation (from
react-query
) is fired. onSuccess, the chat history is refetched. But the new message is not there:Working example:
Below, is the message list. This is 1 message behind when you press send: