Till Faelligen
8be4762ff3
Also limit presence by last_active_ts
2022-04-28 11:23:13 +02:00
Till Faelligen
0c9d1cfe18
More limiting
2022-04-27 21:30:30 +02:00
Till Faelligen
9f7ab9c608
Use filter and limit presence count
2022-04-27 20:57:52 +02:00
Neil Alexander
66b397b3c6
Don't create fictitious presence entries ( #2381 )
...
* Don't create fictitious presence entries for users that don't have any
* Update whitelist, since that test probably shouldn't be passing
* Fix panics
2022-04-27 11:25:07 +01:00
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