tigase-extension icon indicating copy to clipboard operation
tigase-extension copied to clipboard

Ghost messages

Open daniele-athome opened this issue 7 years ago • 2 comments

~~This might be the whole cause of missing deliveries that is troubling Kontalk users (and even me).~~ I found messages being saved again and again (thus refreshing the expiration date) from January 2017 (!!!!) to existing and valid users. What is happening here??

daniele-athome avatar Feb 07 '18 19:02 daniele-athome

Ghost messages appear to be saved with full JIDs having non-existing resources. The resource is the device ID, since it isn't connected, Tigase sends the message to offline storage again (and sends a copy to the bare JID, but that doesn't fix the issue itself).

Anyway the problem here is mainly waste of server resources. I need to find a way to properly store the timestamp to the initial value, and not to the time of each storage.

daniele-athome avatar Feb 07 '18 19:02 daniele-athome

To a more close look at the database, there are messages with a bare JID in to and they are not delivered nonetheless. That is not valid behavior.

daniele-athome avatar Feb 07 '18 20:02 daniele-athome