Hey guys I Ran into this issue where new messages are not fetched in an open chat window randomly. Upon closer inspection, we have found that the CometChat.MessageListener() method does not catch new messages. I was not able to find out what the issue is. We use a unique listenerId, as said in the docs.
Say i have chat window open, and new incoming messages are not fetched. Just refreshing the window almost always fixes the issue and the app would work as expected without any changes to the code.
Would be happy to provide any code snippets that might be of help.