From daa1c7f577eab44ead0b2c90489902a087176a34 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 7 Dec 2024 14:08:53 -0500 Subject: [PATCH] ssb: Don't miss contact messages that aren't followed by non-follow messages. --- apps/ssb.json | 2 +- apps/ssb/tf-news.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/ssb.json b/apps/ssb.json index 28ee0881..aef14ef2 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&xmK/qm3j46oW14K8BvE75Tt0tNgsBWJ9E8qK9a/3tUw=.sha256" + "previous": "&3Y03Nv5WhnlghnQ1Wqu9z2460JFYumMEUfGDr/0OWfs=.sha256" } diff --git a/apps/ssb/tf-news.js b/apps/ssb/tf-news.js index fe39dcb6..a99024d8 100644 --- a/apps/ssb/tf-news.js +++ b/apps/ssb/tf-news.js @@ -173,6 +173,12 @@ class TfNewsElement extends LitElement { result.push(message); } } + if (group.length > 0) { + result.push({ + type: 'contact_group', + messages: group, + }); + } return result; }