From 819b926820c9c982ab04b7459eb37c618cd09381 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 25 Aug 2020 15:44:19 +0100 Subject: [PATCH 1/2] 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 0788f6cb7..50ab5dde5 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 From 48850d9995aae9b526784ea2d9c5ff8ce3a8938e Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 25 Aug 2020 15:44:33 +0100 Subject: [PATCH 2/2] Update /versions (#1338) --- clientapi/routing/routing.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go index 2db91c0f9..e15625f7d 100644 --- a/clientapi/routing/routing.go +++ b/clientapi/routing/routing.go @@ -75,6 +75,9 @@ func Setup( "r0.1.0", "r0.2.0", "r0.3.0", + "r0.4.0", + "r0.5.0", + "r0.6.1", }}, } }),