0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-09 19:31:11 +01:00
dendrite/keyserver/storage/postgres
Kegsay adf7b59294
Persist partition|offset|user_id in the keyserver (#1226)
* Persist partition|offset|user_id in the keyserver

Required for a query API which will be used by the syncapi which
will be called when a `/sync` request comes in which will return
a list of user IDs of people who have changed their device keys
between two tokens.

* Add tests and fix maxOffset bug

* s/offset/log_offset/g because 'offset' is a reserved word in postgres
2020-07-28 17:38:30 +01:00
..
device_keys_table.go Implement /keys/query locally (#1204) 2020-07-15 18:40:41 +01:00
key_changes_table.go Persist partition|offset|user_id in the keyserver (#1226) 2020-07-28 17:38:30 +01:00
one_time_keys_table.go Implement claiming one-time keys locally (#1210) 2020-07-21 14:47:53 +01:00
storage.go Persist partition|offset|user_id in the keyserver (#1226) 2020-07-28 17:38:30 +01:00