aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/logic/database.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-05-16 20:41:41 +0200
committerfiaxh <git@lightrise.org>2019-07-08 18:46:30 +0200
commita7aa5130f821252c17ffc5725e4240553248ad17 (patch)
treec84c211b4d3ee395ee5e460e187b8eeb0431f6c2 /plugins/omemo/src/logic/database.vala
parent837de4063dbe398735a5b1d35bde1821c177b555 (diff)
downloaddino-a7aa5130f821252c17ffc5725e4240553248ad17.tar.gz
dino-a7aa5130f821252c17ffc5725e4240553248ad17.zip
OMEMO code cleanup: Move TrustLevel out of Database
Diffstat (limited to 'plugins/omemo/src/logic/database.vala')
-rw-r--r--plugins/omemo/src/logic/database.vala12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/omemo/src/logic/database.vala b/plugins/omemo/src/logic/database.vala
index bce1d4e6..1f9e1304 100644
--- a/plugins/omemo/src/logic/database.vala
+++ b/plugins/omemo/src/logic/database.vala
@@ -9,18 +9,6 @@ public class Database : Qlite.Database {
private const int VERSION = 4;
public class IdentityMetaTable : Table {
- public enum TrustLevel {
- VERIFIED,
- TRUSTED,
- UNTRUSTED,
- UNKNOWN;
-
- public string to_string() {
- int val = this;
- return val.to_string();
- }
- }
-
//Default to provide backwards compatability
public Column<int> identity_id = new Column.Integer("identity_id") { not_null = true, min_version = 2, default = "-1" };
public Column<string> address_name = new Column.Text("address_name") { not_null = true };