Add assert to ensure handler is only run on master
Add assert to ensure handler is only run on master

matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse