1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-05 10:18:42 +09:00

Exclude remote user or myself from talk user suggestions (#3449)

This commit is contained in:
MeiMei 2018-12-01 07:15:55 +09:00 committed by syuilo
parent f2b1cf92e1
commit 6a8835b923

View File

@ -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) {