mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-03 16:25:03 +01:00
Exclude remote user or myself from talk user suggestions (#3449)
This commit is contained in:
parent
f2b1cf92e1
commit
6a8835b923
1 changed files with 2 additions and 1 deletions
|
@ -115,9 +115,10 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
this.$root.api('users/search', {
|
this.$root.api('users/search', {
|
||||||
query: this.q,
|
query: this.q,
|
||||||
|
localOnly: true,
|
||||||
limit: 10
|
limit: 10
|
||||||
}).then(users => {
|
}).then(users => {
|
||||||
this.result = users;
|
this.result = users.filter(user => user.id != this.$store.state.i.id);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
navigate(user) {
|
navigate(user) {
|
||||||
|
|
Loading…
Reference in a new issue