From 819b926820c9c982ab04b7459eb37c618cd09381 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 25 Aug 2020 15:44:19 +0100 Subject: [PATCH] Make redactions permanent (#1337) * Make redactions permanent * Update storage.go --- roomserver/storage/shared/storage.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roomserver/storage/shared/storage.go b/roomserver/storage/shared/storage.go index 0788f6cb..50ab5dde 100644 --- a/roomserver/storage/shared/storage.go +++ b/roomserver/storage/shared/storage.go @@ -22,9 +22,7 @@ import ( // will be necessary for compliance with the law. Note that downstream components (syncapi) WILL delete information // in their database on receipt of a redaction. Also note that we still modify the event JSON to set the field // unsigned.redacted_because - we just don't clear out the content fields yet. -// -// If this hasn't been done by 09/2020 this should be flipped to true. -const redactionsArePermanent = false +const redactionsArePermanent = true type Database struct { DB *sql.DB