forked-synapse/synapse/api
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Allow deleting an alias if the user has sufficient power level (#6986) 2020-03-04 11:30:46 -05:00
constants.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
errors.py Convert http.HTTPStatus objects to their int equivalent (#7188) 2020-04-03 14:26:07 +01:00
filtering.py Fixup synapse.api to pass mypy (#6733) 2020-01-20 17:34:13 +00:00
ratelimiting.py Fixup synapse.api to pass mypy (#6733) 2020-01-20 17:34:13 +00:00
room_versions.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
urls.py Remove unused, undocumented "content repo" resource (#6628) 2020-01-03 17:10:52 +00:00