Make redactions permanent (#1337)

* Make redactions permanent

* Update storage.go
main
Neil Alexander 2020-08-25 15:44:19 +01:00 committed by GitHub
parent 287700baee
commit 819b926820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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