mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 07:26:29 +09:00
* Add an option for timeline replies. Credit to Emilis (puffaboo) * update db on request
This commit is contained in:
@ -62,7 +62,7 @@ export default class extends Channel {
|
||||
if (isInstanceMuted(note, new Set<string>(this.userProfile?.mutedInstances ?? []))) return;
|
||||
|
||||
// 関係ない返信は除外
|
||||
if (note.reply) {
|
||||
if (note.reply && !this.user!.showTimelineReplies) {
|
||||
const reply = note.reply;
|
||||
// 「チャンネル接続主への返信」でもなければ、「チャンネル接続主が行った返信」でもなければ、「投稿者の投稿者自身への返信」でもない場合
|
||||
if (reply.userId !== this.user!.id && note.userId !== this.user!.id && reply.userId !== note.userId) return;
|
||||
|
Reference in New Issue
Block a user