From 53c215399b20beaf0fbdec0c1c49ab586121c203 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 14 May 2025 20:57:42 -0400 Subject: [PATCH] ssb: Ugg, better safe than sorry. --- apps/ssb.json | 2 +- apps/ssb/tf-app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index b21224f8..d630f4e8 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&BTakbuyvmD/t7rhYqYeRpMvqfajJaTKSccT+hAdtba8=.sha256" + "previous": "&xtu0KJ63/WsxuSXqYV68rs2rPJeJJjAQ3GKXy/SGHhA=.sha256" } diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index 5dd53808..435ed239 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -224,7 +224,7 @@ class TfElement extends LitElement { for (let id of ids_out_of_date) { if (!cache.about[id]?.seq) { - cache.about[id].seq = users[id]?.seq ?? 0; + cache.about[id] = Object.assign(cache.about[id] ?? {}, {seq: users[id]?.seq ?? 0}); } }