Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a missing await when in the spaces summary. (#10208) | Patrick Cloke | 2021-06-18 | 1 | -1/+98 |
| | | | | | | | This could cause a minor data leak if someone defined a non-restricted join rule with an allow key or used a restricted join rule in an older room version, but this is unlikely. Additionally this starts adding unit tests to the spaces summary handler. | ||||
* | Sort child events according to MSC1772 for the spaces summary API. (#9954) | Patrick Cloke | 2021-05-11 | 1 | -0/+81 |
This should help ensure that equivalent results are achieved between homeservers querying for the summary of a space. This implements modified MSC1772 rules, according to MSC2946. The different is that the origin_server_ts of the m.room.create event is not used as a tie-breaker since this might not be known if the homeserver is not part of the room. |