mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Exclude remote user or myself from talk user suggestions (#3449)
This commit is contained in:
parent
3d1afb9306
commit
8f699a4757
1 changed files with 2 additions and 1 deletions
|
@ -115,9 +115,10 @@ export default Vue.extend({
|
|||
}
|
||||
this.$root.api('users/search', {
|
||||
query: this.q,
|
||||
localOnly: true,
|
||||
limit: 10
|
||||
}).then(users => {
|
||||
this.result = users;
|
||||
this.result = users.filter(user => user.id != this.$store.state.i.id);
|
||||
});
|
||||
},
|
||||
navigate(user) {
|
||||
|
|
Loading…
Add table
Reference in a new issue