encrypted messages sent while offline are not displayed according to their timestamp
Bug description
Messages that were sent to me while I was offline are not displayed in their proper chronological order when I come online and receive them. It might be that GPG encryption influences Gajim's behaviour: the message that is not displayed according to its timestamp is the only encrypted message (see below). It was sent immediately after I went offline, while the other messages, the unencrypted ones, were sent some time later.
[07:25:53 AM] GPG encryption enabled
Yesterday [11:24:44 PM] The following message was NOT encrypted
Yesterday [11:24:44 PM] contact: text
Yesterday [11:24:49 PM] The following message was NOT encrypted
Yesterday [11:24:49 PM] contact: text
Yesterday [11:24:50 PM] The following message was NOT encrypted
Yesterday [11:24:50 PM] contact: text
Yesterday [09:13:31 PM] contact: text
Yesterday [11:24:53 PM] The following message was NOT encrypted
Yesterday [11:24:53 PM] contact: text
Yesterday [11:24:55 PM] The following message was NOT encrypted
Yesterday [11:24:55 PM] contact: text
Steps to reproduce
Have someone send messages to you while you are offline, then go online.
Software versions
OS version: Ubuntu 11.04
GTK version: 2.24.4
PyGTK version: 2.22.0