This is so that we can choose which algorithm to use based on the room ID.
synapse.handlers.federation