develop
Remove redundant "coding: utf-8" lines (#9786)
to_device updates could be dropped when consuming the replication stream (#15349)
Avoid sending massive replication updates when purging a room. (#16510)
Add missing type hints to tests.replication. (#14987)
Add final type hint to tests.unittest. (#15072)
Accept & store thread IDs for receipts (implement MSC3771). (#13782)
Use full GitHub links instead of bare issue numbers. (#16637)
Fix sending out of order `POSITION` over replication (#16639)