aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/history_sync.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-05-30 16:10:36 +0200
committerMarvin W <git@larma.de>2026-06-07 23:13:07 +0200
commit158cff3098e9370696f9250a199c78e4f2d18ce0 (patch)
treebd05a55e5419ef2307c7a7f4d7665f7449c8e8b1 /libdino/src/service/history_sync.vala
parentafcf44928748f7ac049f1ba9f5c51c6dedbf4ec2 (diff)
Add JID interning
Diffstat (limited to 'libdino/src/service/history_sync.vala')
-rw-r--r--libdino/src/service/history_sync.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/history_sync.vala b/libdino/src/service/history_sync.vala
index 190284e0..9bd3f54f 100644
--- a/libdino/src/service/history_sync.vala
+++ b/libdino/src/service/history_sync.vala
@@ -505,7 +505,7 @@ public class Dino.HistorySync {
foreach (Row row in db.mam_catchup.select().with(db.mam_catchup.account_id, "=", account.id)) {
var mam_range = new MamRange();
mam_range.id = row[db.mam_catchup.id];
- mam_range.server_jid = new Jid(row[db.mam_catchup.server_jid]);
+ mam_range.server_jid = Jid.from_string(row[db.mam_catchup.server_jid]);
mam_range.from_time = row[db.mam_catchup.from_time];
mam_range.from_id = row[db.mam_catchup.from_id];
mam_range.from_end = row[db.mam_catchup.from_end];