1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-30 07:49:02 +09:00
This commit is contained in:
syuilo 2018-11-29 20:09:41 +09:00
parent 7a412500e1
commit 0489291815
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export default function(me, settings, note) {
}
}
if (!isMyNote && note.text && settings.mutedWords.some(q => q.length > 0 && !q.some(word => word == '' || !note.text.includes(word)))) {
if (!isMyNote && note.text && settings.mutedWords.some(q => q.length > 0 && !q.some(word => !note.text.includes(word)))) {
return true;
}

View File

@ -72,7 +72,7 @@ export default Vue.extend({
methods: {
save() {
this._mutedWords = this.mutedWords.split('\n').map(line => line.split(' '));
this._mutedWords = this.mutedWords.split('\n').map(line => line.split(' ').filter(x => x != ''));
}
}
});