1
0

fix null check in local/global/list channels

This commit is contained in:
Hazelnoot
2025-06-03 17:47:03 -04:00
parent 5035287571
commit 0866e87ce6
3 changed files with 4 additions and 4 deletions
@@ -65,7 +65,7 @@ class GlobalTimelineChannel extends Channel {
if (!this.isNoteVisibleToMe(reply)) return;
if (!this.following[note.userId]?.withReplies) {
// 「チャンネル接続主への返信」でもなければ、「チャンネル接続主が行った返信」でもなければ、「投稿者の投稿者自身への返信」でもない場合
if (reply.userId !== this.user!.id && !isMe && reply.userId !== note.userId) return;
if (reply.userId !== this.user?.id && !isMe && reply.userId !== note.userId) return;
}
}