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
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
..
room define storage keys to be 32bit for idb / web platform 2019-06-26 21:52:41 +02:00
storage encode idb array keys as sortable strings 2019-06-26 21:55:33 +02:00
error.js throw NetworkError from HomeServerApi 2019-03-08 12:26:59 +01:00
hs-api.js fallback for platforms missing AbortController 2019-06-26 19:49:49 +02:00
session.js support isOwn on messages 2019-06-16 10:53:23 +02:00
sync.js show full stack on sync error 2019-06-16 15:49:00 +02:00