synapse/tests/rest
Brendan Abolivier 54dd5dc12b
Add ephemeral messages support (MSC2228) (#6409)
Implement part [MSC2228](https://github.com/matrix-org/matrix-doc/pull/2228). The parts that differ are:

* the feature is hidden behind a configuration flag (`enable_ephemeral_messages`)
* self-destruction doesn't happen for state events
* only implement support for the `m.self_destruct_after` field (not the `m.self_destruct` one)
* doesn't send synthetic redactions to clients because for this specific case we consider the clients to be able to destroy an event themselves, instead we just censor it (by pruning its JSON) in the database
2019-12-03 19:19:45 +00:00
..
admin Blacklist PurgeRoomTestCase (#6361) 2019-11-13 19:09:20 +00:00
client Add ephemeral messages support (MSC2228) (#6409) 2019-12-03 19:19:45 +00:00
media Apply suggestions from code review 2019-11-05 16:46:39 +00:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_well_known.py Run Black on the tests again (#5170) 2019-05-10 00:12:11 -05:00