powered by Jive Software

Smack 4.4.2 - unable to receive an incoming chat which is initiated by remote user

I am trying to upgrade from smack 3.1.0 to Smack 4.4.2.
In smack 3.1.0, When a incoming chat is received, a new chat is created and chatCreated event is fired from ChatManager class.
However in the new chat library from chat2 package, There is no ChatCreated message which gets fired.

On account of this, I get the incoming messages for the chats which I create locally and for the chats which a remote user initiates, I am not receiving them unless I start it explicitly.

Please suggest how I can receive messages on a new incoming chat which is not initiated by me.

Please take a look at the documentation.