diff --git a/apps/ssb.json b/apps/ssb.json index 63f62ff6..124cbd66 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&1odTdQMYLeIjmLDEIAxcoabT7D5cXYWcDO4nNJH9KRY=.sha256" + "previous": "&U/Hy2rgSqwKeF30kKWPUL0qLzXBnxPHxQS5OgfxwZG8=.sha256" } diff --git a/apps/ssb/tf-tab-news-feed.js b/apps/ssb/tf-tab-news-feed.js index ecae27d6..0eb2cdb0 100644 --- a/apps/ssb/tf-tab-news-feed.js +++ b/apps/ssb/tf-tab-news-feed.js @@ -178,7 +178,7 @@ class TfTabNewsFeedElement extends LitElement { FROM news JOIN messages_refs refs_in ON news.id = refs_in.ref JOIN messages_refs refs_out ON news.id = refs_out.message - JOIN messages ON (messages.id = refs_out.message OR messages.id = refs_in.ref) + JOIN messages ON (messages.id = refs_out.ref OR messages.id = refs_in.message) `, [JSON.stringify(this.following), start_time, end_time] );