mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 23:48:27 +00:00
Make redactions permanent (#1337)
* Make redactions permanent * Update storage.go
This commit is contained in:
parent
287700baee
commit
819b926820
1 changed files with 1 additions and 3 deletions
|
@ -22,9 +22,7 @@ import (
|
||||||
// will be necessary for compliance with the law. Note that downstream components (syncapi) WILL delete information
|
// 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
|
// 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.
|
// unsigned.redacted_because - we just don't clear out the content fields yet.
|
||||||
//
|
const redactionsArePermanent = true
|
||||||
// If this hasn't been done by 09/2020 this should be flipped to true.
|
|
||||||
const redactionsArePermanent = false
|
|
||||||
|
|
||||||
type Database struct {
|
type Database struct {
|
||||||
DB *sql.DB
|
DB *sql.DB
|
||||||
|
|
Loading…
Reference in a new issue