This commit is contained in:
syuilo 2020-02-13 22:13:24 +09:00
parent a473768bef
commit d76fceae85
9 changed files with 74 additions and 0 deletions

View file

@ -40,6 +40,12 @@ export default class extends Channel {
});
}
// 関係ない返信は除外
if (note.reply) {
// 「チャンネル接続主への返信」でもなければ、「チャンネル接続主が行った返信」でもなければ、「投稿者の投稿者自身への返信」でもない場合
if (note.reply.userId !== this.user!.id && note.userId !== this.user!.id && note.reply.userId !== note.userId) return;
}
// 流れてきたNoteがミュートしているユーザーが関わるものだったら無視する
if (shouldMuteThisNote(note, this.muting)) return;