diff --git a/apps/ssb.json b/apps/ssb.json index 71365afb..c8c4252f 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&dc3Eovh35uB024L4dyFX+n8N37ove9STsKmkKlO/pcQ=.sha256" + "previous": "&vIYnoUkbz97WRvyunV+ETe+Y6tJk7tTEVvgYuwkoDiM=.sha256" } \ No newline at end of file diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index efb6e6b8..d3ce812d 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -156,6 +156,7 @@ class TfElement extends LitElement { ]); if (messages && messages.length) { this.unread = [...this.unread, ...messages]; + this.unread = this.unread.slice(this.unread.length - 1024); } }