Bug 99593

Summary: Messages with the same time stamp get their order reversed
Product: Telepathy Reporter: Daniel Landau <daniel.freedesktop>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: daniel.freedesktop
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix
Typo fixed patch

Description Daniel Landau 2017-01-29 17:41:31 UTC
Created attachment 129217 [details] [review]
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
Comment 1 Daniel Landau 2017-01-31 15:00:21 UTC
Created attachment 129258 [details] [review]
Typo fixed patch
Comment 2 GitLab Migration User 2019-12-03 19:32:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/45.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.