diff options
author | fiaxh <git@lightrise.org> | 2023-04-23 11:48:29 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-04-23 11:48:29 +0200 |
commit | 10315a245d7ed23ac9c915ecb298a484050ccef1 (patch) | |
tree | 2a286533f41abec266f07ecbd7371081b04df957 /libdino/src/entity | |
parent | 2b9a0ccf7ea262b40eaf1513a54fbc2b326673f3 (diff) | |
download | dino-10315a245d7ed23ac9c915ecb298a484050ccef1.tar.gz dino-10315a245d7ed23ac9c915ecb298a484050ccef1.zip |
Code cleanup: Remove left-over usages of mam_earliest_synced
Diffstat (limited to 'libdino/src/entity')
-rw-r--r-- | libdino/src/entity/account.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libdino/src/entity/account.vala b/libdino/src/entity/account.vala index 2b7f2b04..51ceb8d1 100644 --- a/libdino/src/entity/account.vala +++ b/libdino/src/entity/account.vala @@ -18,7 +18,6 @@ public class Account : Object { public string? alias { get; set; } public bool enabled { get; set; default = false; } public string? roster_version { get; set; } - public DateTime mam_earliest_synced { get; set; default=new DateTime.from_unix_utc(0); } private Database? db; @@ -50,7 +49,6 @@ public class Account : Object { alias = row[db.account.alias]; enabled = row[db.account.enabled]; roster_version = row[db.account.roster_version]; - mam_earliest_synced = new DateTime.from_unix_utc(row[db.account.mam_earliest_synced]); notify.connect(on_update); } @@ -66,7 +64,6 @@ public class Account : Object { .value(db.account.alias, alias) .value(db.account.enabled, enabled) .value(db.account.roster_version, roster_version) - .value(db.account.mam_earliest_synced, (long)mam_earliest_synced.to_unix()) .perform(); notify.connect(on_update); @@ -106,8 +103,6 @@ public class Account : Object { update.set(db.account.enabled, enabled); break; case "roster-version": update.set(db.account.roster_version, roster_version); break; - case "mam-earliest-synced": - update.set(db.account.mam_earliest_synced, (long)mam_earliest_synced.to_unix()); break; } update.perform(); } |