synapse-product/changelog.d/8971.bugfix
Erik Johnston 5e7d75daa2
Fix mainline ordering in state res v2 (#8971)
This had two effects 1) it'd give the wrong answer and b) would iterate
*all* power levels in the auth chain of each event. The latter of which
can be *very* expensive for certain types of IRC bridge rooms that have
large numbers of power level changes.
2020-12-18 15:00:34 +00:00

2 lines
136 B
Plaintext

Fix small bug in v2 state resolution algorithm, which could also cause performance issues for rooms with large numbers of power levels.