I adding to mod_offline on ejabberd. I cant retriving offline message. In my opinion, When user close connection, smack cannot send unavailable message to ejabberd server. So user is available on ejabberd server. As a result of this, server dont send offline message to client. Is there any solution except offline message manager?