Messages with the same time stamp get their order reversed
Submitted by Daniel Landau
Assigned to Telepathy bugs list
Description
Created attachment 129217 Fix
Telepathy-logger exactly reverses the order of pending messages that arrive at the exact same timestamp. This situation arises when using a bouncer that has buffered messages while the user is offline. The core issue is that the code gets the messages in order, goes through them one by one, prepending them to a new list. This list needs to be reversed to reobtain the original order. The attached patch does that.
This bug has been filed against Polari: https://bugzilla.gnome.org/show_bug.cgi?id=773201
Patch 129217, "Fix":
0001-Preserve-the-original-order-of-messages.patch
Version: git master