codingteam / emulsion

XMPP ↔ Telegram bridge
MIT License
33 stars 3 forks source link

Stable sort for messages #185

Closed ForNeVeR closed 1 year ago

ForNeVeR commented 1 year ago

They already work that way according to the spec, though I'd like to make the code more clear.

Also, this will allow us to have stable order if we ever switch the database provider.

I wish it'd be possible to sort by the message datetime, but EFCore doesn't seem to support that for SQLite.