From 1542370f9b92570ea939139b83129bf2f7106fef Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 1 Jul 2025 12:41:25 -0400 Subject: [PATCH] ssb: Let's try not tracking vote unread status. It's useful that the channel is there, but it's too noisy for me to want to mark it as read. --- apps/ssb.json | 2 +- apps/ssb/tf-app.js | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 9cfe1d7c..2ec6747b 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&lOCyez82jwCUs8R/Ynx2nBK598+qDZ7RhGnWOaNQO9U=.sha256" + "previous": "&+qpSXlZs7/UiRIcV0y7rwq7voYMGEkla0YHQCUiiGpo=.sha256" } diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index fca0fe5d..11cfc8fd 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -422,16 +422,6 @@ class TfElement extends LitElement { `, k_args ), - this.query_timed( - ` - SELECT '👍' AS channel, MAX(messages.rowid) AS rowid FROM messages - JOIN json_each(?2) AS following ON messages.author = following.value - WHERE - messages.content ->> 'type' = 'vote' AND - messages.author != ?4 - `, - k_args - ), ]) ).flat(); let latest = {};