Move all the wrapper functions for distributor.fire
Move the functions inside the distributor and import them where needed. This reduces duplication and makes it possible for flake8 to detect when the functions aren't used in a given file.
Showing
- synapse/handlers/federation.py 1 addition, 4 deletionssynapse/handlers/federation.py
- synapse/handlers/register.py 1 addition, 4 deletionssynapse/handlers/register.py
- synapse/handlers/room.py 0 additions, 15 deletionssynapse/handlers/room.py
- synapse/handlers/room_member.py 1 addition, 15 deletionssynapse/handlers/room_member.py
- synapse/util/distributor.py 21 additions, 1 deletionsynapse/util/distributor.py
Loading
Please register or sign in to comment