0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:03:50 +01:00
synapse/synapse
Erik Johnston 197fae1639 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
2019-03-27 13:41:36 +00:00
..
_scripts Fix flake8 (#4519) 2019-01-30 10:53:17 +00:00
api Support 3PID login in password providers (#4931) 2019-03-26 17:48:30 +00:00
app Merge pull request #4852 from matrix-org/rav/move_rr_sending_to_worker 2019-03-15 12:30:30 +00:00
appservice Run the AS senders as background processes (#4189) 2018-12-04 10:53:49 +01:00
config Use yaml safe_load 2019-03-22 10:20:17 +00:00
crypto Correctly log expected errors when fetching server keys 2019-03-11 14:11:10 +00:00
events Make prev_state field optional 2019-03-08 15:05:32 +00:00
federation Use event streams to calculate presence 2019-03-27 13:41:36 +00:00
groups Merge branch 'develop' of github.com:matrix-org/synapse into anoa/public_rooms_federate_develop 2019-02-26 14:23:40 +00:00
handlers Use event streams to calculate presence 2019-03-27 13:41:36 +00:00
http Make federation endpoints more tolerant of trailing slashes v2 (#4935) 2019-03-26 11:35:29 +00:00
metrics Add metrics for number of outgoing EDUs, by type (#4695) 2019-02-20 14:13:14 +00:00
module_api Support 3PID login in password providers (#4931) 2019-03-26 17:48:30 +00:00
push Add missing return 2019-02-22 15:27:40 +00:00
replication Fix ClientReplicationStreamProtocol.__str__ (#4929) 2019-03-25 16:41:51 +00:00
res/templates Use static locations for Riot icons 2019-03-01 15:06:21 -07:00
rest Support 3PID login in password providers (#4931) 2019-03-26 17:48:30 +00:00
server_notices Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact 2018-08-24 17:00:37 +01:00
state Enable room version v3 2019-01-29 23:09:10 +00:00
static switch from google.com to recaptcha.net for reCAPTCHA (#4731) 2019-02-25 11:15:36 -08:00
storage Use the state event amount for userdir import batching, not room count (#4944) 2019-03-27 02:49:28 +11:00
streams Fix develop because I broke it :( (#3535) 2018-07-14 09:51:00 +10:00
util Add a caching layer to .well-known responses (#4516) 2019-01-30 10:55:25 +00:00
__init__.py 0.99.2 2019-03-01 10:55:44 +00:00
event_auth.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/redactions_eiah 2019-01-29 22:58:38 +00:00
notifier.py Remove redundant PreserveLoggingContext 2019-03-04 18:31:18 +00:00
python_dependencies.py Merge pull request #4632 from matrix-org/erikj/basic_sentry 2019-02-18 17:22:45 +00:00
secrets.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
server.py Merge pull request #4855 from matrix-org/rav/refactor_transaction_queue 2019-03-15 12:32:11 +00:00
server.pyi Rename and move the classes 2019-03-13 20:02:56 +00:00
types.py declare a ReadReceipt class 2019-03-13 17:20:55 +00:00
visibility.py Implement soft fail 2019-03-06 16:22:16 +00:00