matrix: Update synapse to 1.31.0

2 jobs for master in 34 seconds (queued for 3 seconds)