4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-03-09 21:53:09 +00:00

2 Commits

Author SHA1 Message Date
Kegsay
99ea1f9b48
Emit redacted_event from the roomserver when redactions are validated ()
* 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 ()
* 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