ebcb74a86d
In a "soon" future, threads have their own linked chunk. All our code has been written with the fact that a linked chunk belong to *a room* in mind, so it needs some biggish update. Fortunately, most of the changes are mechanical, so they should be rather easy to review. Part of #4869, namely #5122.