diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index e444ef93..de05b58a 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -135,9 +135,9 @@ class TfElement extends LitElement { cache.last_row_id = max_row_id; let store = JSON.stringify(cache); /* 2023-02-20: Exceeding message size. */ - if (store.length < 512 * 1024) { + //if (store.length < 512 * 1024) { await tfrpc.rpc.databaseSet('following', store); - } + //} return [result, cache.following]; } @@ -280,16 +280,6 @@ class TfElement extends LitElement { } } - add_fake_news() { - this.unread = [{ - author: this.whoami, - placeholder: true, - id: '%fake_id', - text: 'text', - content: 'hello', - }, ...this.unread]; - } - async set_tab(tab) { this.tab = tab; if (tab === 'news') { @@ -326,7 +316,6 @@ class TfElement extends LitElement { return html` ${this.render_id_picker()} ${tabs} - ${contents} `; } diff --git a/apps/ssb/tf-message.js b/apps/ssb/tf-message.js index ae9551c8..54e2096c 100644 --- a/apps/ssb/tf-message.js +++ b/apps/ssb/tf-message.js @@ -148,7 +148,7 @@ class TfMessageElement extends LitElement { } else if (mention.link?.startsWith('&') && mention.name?.startsWith('video:')) { return html` -