aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo/src/logic')
-rw-r--r--plugins/omemo/src/logic/database.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/omemo/src/logic/database.vala b/plugins/omemo/src/logic/database.vala
index 6243569f..7a320696 100644
--- a/plugins/omemo/src/logic/database.vala
+++ b/plugins/omemo/src/logic/database.vala
@@ -233,6 +233,9 @@ public class Database : Qlite.Database {
try {
exec("PRAGMA synchronous=0");
} catch (Error e) { }
+ try {
+ exec("PRAGMA secure_delete=1");
+ } catch (Error e) { }
}
public override void migrate(long oldVersion) {