Commit graph

6 commits

Author SHA1 Message Date
Neil Alexander 1c071d4e5b
Add tests, tweaks to behaviour 2020-08-11 17:44:02 +01:00
Neil Alexander c57dd004b8
Fix bugs 2020-08-11 16:30:56 +01:00
Neil Alexander 46e85b8414
Bug fixes 2020-08-11 15:59:49 +01:00
Neil Alexander 0db7e88316
More efficient server ACLs - hopefully 2020-08-11 15:39:41 +01:00
Kegsay 99ea1f9b48
Emit redacted_event from the roomserver when redactions are validated (#1186)
* Emit redacted_event from the roomserver when redactions are validated

- Consume them in the currentstateserver and act accordingly.
- Add integration test for the roomserver to check that injecting
  `m.room.redaction` events result in `redacted_event` being emitted.

* Linting

* Ignore events that redact themselves
2020-07-07 12:51:55 +01:00
Kegsay ca5bbffd8d
Add a new component: currentstateserver (#1171)
* Add a new component: currentstateserver

- Add a skeleton for it, with databases and a single query method.
- Add integration tests for it.
- Add listen/address fields in the config (breaking as this will force people to specify this to validate)

Not currently hooked up to anything yet.

* Unbreak config tests

* Add current_state to sample config

* comments
2020-06-30 10:37:21 +01:00