mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
Make redactions permanent (#1337)
* Make redactions permanent * Update storage.go
This commit is contained in:
parent
287700baee
commit
819b926820
@ -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 New Issue
Block a user