Hello,
I am using openfire server for chat based application. For logout from my application I am simply disconnecting my stream, It works for all aspects as my unavailable presence is set on console and sent to other users as well but last logout is not updating on console,It shows more then 1 hour before and the same I am getting in xep-0012. My code is as below,
- (void)xmppDisconnect
{
if (!_xmppStream || [_xmppStreamisDisconnected])
return;
[selfgoOffline];
[_xmppStreamdisconnect];
}
Can there be anything wrong in my server settings or configuration?