airmessage / airmessage-server

AirMessage's native message relay server for Mac
Apache License 2.0
183 stars 12 forks source link

Fix message ordering for messages downloaded from iCloud #24

Open tagavari opened 2 years ago

tagavari commented 2 years ago

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.

valinet commented 1 year ago

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.