From e5cb14195406069db28cfc44529408d624ee21a0 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 14 Nov 2022 13:42:53 -0600 Subject: [PATCH] Dont include self in suggested follows --- src/state/models/suggested-actors-view.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/state/models/suggested-actors-view.ts b/src/state/models/suggested-actors-view.ts index 52e1aec9..7d06d90c 100644 --- a/src/state/models/suggested-actors-view.ts +++ b/src/state/models/suggested-actors-view.ts @@ -88,6 +88,9 @@ export class SuggestedActorsViewModel { this.suggestions.length = 0 let counter = 0 for (const item of res.data.actors) { + if (item.did === this.rootStore.me.did) { + continue // skip self + } this._append({ _reactKey: `item-${counter++}`, ...item,