[GH-ISSUE #24] Fix message ordering for messages downloaded from iCloud #23

Open
opened 2026-03-02 23:33:04 +03:00 by kerem · 1 comment
Owner

Originally created by @tagavari on GitHub (Jul 31, 2022).
Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/24

AirMessage uses the database ID of messages to sort, though this is reversed when messages are downloaded from iCloud. Another sorting method must be used for these messages.

Originally created by @tagavari on GitHub (Jul 31, 2022). Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/24 AirMessage uses the database ID of messages to sort, though this is reversed when messages are downloaded from iCloud. Another sorting method must be used for these messages.
Author
Owner

@valinet commented on GitHub (Mar 8, 2023):

Any progress on this? I don't really understand why messages can't be sorted using the timestamp... If you say some of them appear out of order when using this, I think it's an acceptable compromise for iCloud downloaded messages, so why not use this sorting in that case and keep the ID-based sorting only for new incoming messages that arrive? Thanks.

<!-- gh-comment-id:1460849924 --> @valinet commented on GitHub (Mar 8, 2023): Any progress on this? I don't really understand why messages can't be sorted using the timestamp... If you say some of them appear out of order when using this, I think it's an acceptable compromise for iCloud downloaded messages, so why not use this sorting in that case and keep the ID-based sorting only for new incoming messages that arrive? Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/airmessage-server#23
No description provided.