MatrixSynapse/synapse/handlers
Richard van der Hoff 71a1abb8a1
Stop the master relaying USER_SYNC for other workers (#7318)
Long story short: if we're handling presence on the current worker, we shouldn't be sending USER_SYNC commands over replication.

In an attempt to figure out what is going on here, I ended up refactoring some bits of the presencehandler code, so the first 4 commits here are non-functional refactors to move this code slightly closer to sanity. (There's still plenty to do here :/). Suggest reviewing individual commits.

Fixes (I hope) #7257.
2020-04-22 22:39:04 +01:00
..
ui_auth
__init__.py
_base.py
account_data.py
account_validity.py
acme.py
acme_issuing_service.py
admin.py
appservice.py
auth.py Reject unknown UI auth sessions (instead of silently generating a new one) (#7268) 2020-04-20 08:54:42 -04:00
cas_handler.py Do not allow a deactivated user to login via SSO. (#7240) 2020-04-09 13:28:13 -04:00
deactivate_account.py
device.py Always send the user updates to their own device list (#7160) 2020-04-20 17:20:38 +01:00
devicemessage.py
directory.py Allow admins to create aliases when they are not in the room (#7191) 2020-04-01 08:27:05 -04:00
e2e_keys.py Query missing cross-signing keys on local sig upload (#7289) 2020-04-22 12:29:36 +01:00
e2e_room_keys.py
events.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
federation.py Rewrite prune_old_outbound_device_pokes for efficiency (#7159) 2020-03-30 19:06:52 +01:00
groups_local.py
identity.py import urllib.parse when using urllib.parse.quote (#7319) 2020-04-22 12:18:51 +01:00
initial_sync.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
message.py Use the proper error code when a canonical alias that does not exist is used. (#7109) 2020-03-23 15:21:54 -04:00
pagination.py
password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
presence.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
profile.py Add options to prevent users from changing their profile. (#7096) 2020-03-27 19:15:23 +00:00
read_marker.py
receipts.py
register.py Convert auth handler to async/await (#7261) 2020-04-15 12:40:18 -04:00
room.py Check on room creation if the user is allowed to publish the room to the room directory. (#7260) 2020-04-13 07:42:32 -04:00
room_list.py Improve error responses when a remote server doesn't allow you to access its public rooms list (#6899) 2020-04-06 12:35:30 +01:00
room_member.py Transfer alias mappings when joining an upgraded room (#6946) 2020-03-30 17:53:25 +01:00
room_member_worker.py
saml_handler.py Do not allow a deactivated user to login via SSO. (#7240) 2020-04-09 13:28:13 -04:00
search.py
set_password.py Convert auth handler to async/await (#7261) 2020-04-15 12:40:18 -04:00
state_deltas.py
stats.py
sync.py Always send the user updates to their own device list (#7160) 2020-04-20 17:20:38 +01:00
typing.py
user_directory.py