Dont include self in suggested follows
This commit is contained in:
parent
fb3ca42646
commit
e5cb141954
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue