This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/matrix/storage/idb/stores
Bruno Windels 0fd52be710 encode idb array keys as sortable strings
that's why numeric parts of the keys have to be encoded
as a fixed length, "big-endian" ordered strings, so
string sorting will also sort the numeric keys correctly.

this also assumes room ids don't contain the "|" character,
we should probably escape the separator at some point.
2019-06-26 21:55:33 +02:00
..
member.js move sync & persistence engine over to own matrix folder 2019-02-10 21:33:18 +01:00
RoomStateStore.js encode idb array keys as sortable strings 2019-06-26 21:55:33 +02:00
RoomSummaryStore.js move sync & persistence engine over to own matrix folder 2019-02-10 21:33:18 +01:00
SessionStore.js move sync & persistence engine over to own matrix folder 2019-02-10 21:33:18 +01:00
TimelineEventStore.js encode idb array keys as sortable strings 2019-06-26 21:55:33 +02:00
TimelineFragmentStore.js encode idb array keys as sortable strings 2019-06-26 21:55:33 +02:00