Changeset 3da21ce for protocols/twitter


Ignore:
Timestamp:
2020-05-02T13:13:23Z (5 years ago)
Author:
dx <dx@…>
Branches:
master
Children:
b8b931d
Parents:
c479242
git-author:
Kathy Murdoch <kathy@…> (22-04-20 19:50:44)
git-committer:
dx <dx@…> (02-05-20 13:13:23)
Message:

Compare tweets by status ID as fallback for identical dates.

This fixes an issue where a thread composed using Twitter's thread
interface is displayed out of order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    rc479242 r3da21ce  
    132132                return 1;
    133133        } else {
    134                 return 0;
     134                return a_status->id < b_status->id ? -1 : 1;
    135135        }
    136136}
Note: See TracChangeset for help on using the changeset viewer.