Problem with Store Offline message

Hi

I have a problem with store offline message .

Client A send Message to client B. Client B Goes Offline cause to lost internet connection. but for 10 min server think client B is online and do not store offline message. during this 10 min no offine message store for client B because server think Clinet B still online!!

what should i do?

thx

There is no 100% solution for this. You can set a setting to disconnect offline clients quicker. You can also use a client which supports message delivery receipts (e.g. Gajim). Read this for detailed explanation of this problem Explanation: options to mitigate messages loss because of network problems