0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-27 13:28:58 +02:00
dendrite/syncapi/storage
Till e5e3350ce1
Add presence module V2 (#2312)
* Syncapi presence

* Clientapi http presence handler

* Why is this here?

* Missing files

* FederationAPI presence implementation

* Add new presence stream

* Pinecone update

* Pinecone update

* Add passing tests

* Make linter happy

* Add presence producer

* Add presence config option

* Set user to unavailable after x minutes

* Only set currently_active if online
Avoid unneeded presence updates when syncing

* Tweaks

* Query devices for last_active_ts
Fixes & tweaks

* Export SharedUsers/SharedUsers

* Presence stream in MemoryStorage

* Remove status_msg_nil

* Fix sytest crashes

* Make presence types const and use stringer for it

* Change options to allow inbound/outbound presence

* Fix option & typo

* Update configs

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-04-06 13:11:19 +02:00
..
postgres Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
shared Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
sqlite3 Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
tables Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
interface.go Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
storage.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
storage_test.go Sync refactor — Part 1 (#1688) 2021-01-08 16:59:06 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00