summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-26 12:45:22 +0000
committerErik Johnston <erik@matrix.org>2019-03-27 13:41:36 +0000
commit197fae16398a3cacc310fbba6e1dc343f552fd03 (patch)
treec581f34216ab93793cb7a03955c99e06e2e8e61f /contrib
parentSupport 3PID login in password providers (#4931) (diff)
downloadsynapse-197fae16398a3cacc310fbba6e1dc343f552fd03.tar.xz
Use event streams to calculate presence
Primarily this fixes a bug in the handling of remote users joining a
room where the server sent out the presence for all local users in the
room to all servers in the room.

We also change to using the state delta stream, rather than the
distributor, as it will make it easier to split processing out of the
master process (as well as being more flexible).

Finally, when sending presence states to newly joined servers we filter
out old presence states to reduce the number sent. Initially we filter
out states that are offline and have a last active more than a week ago,
though this can be changed down the line.

Fixes #3962
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions