Erik Johnston 5e8387af9e Use received_ts to find uncensored redacted events
Joining against `events` and ordering by `stream_ordering` is
inefficient as it forced scanning the entirety of the redactions table.

This isn't the case if we use `redactions.received_ts` column as we can
then use an index.
2019-10-01 13:43:48 +01:00
..
2019-06-20 19:32:02 +10:00
2019-09-25 18:17:39 +01:00
2019-09-12 11:42:47 +01:00
2019-09-26 12:29:59 +01:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00