File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/backend/src/server/api/stream/channels Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ class GlobalTimelineChannel extends Channel {
51
51
if ( note . visibility !== 'public' ) return ;
52
52
if ( note . channelId != null ) return ;
53
53
if ( note . user . requireSigninToViewContents && this . user == null ) return ;
54
+ if ( note . renote && note . renote . user . requireSigninToViewContents && this . user == null ) return ;
55
+ if ( note . reply && note . reply . user . requireSigninToViewContents && this . user == null ) return ;
54
56
55
57
if ( isRenotePacked ( note ) && ! isQuotePacked ( note ) && ! this . withRenotes ) return ;
56
58
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ class LocalTimelineChannel extends Channel {
54
54
if ( note . visibility !== 'public' ) return ;
55
55
if ( note . channelId != null ) return ;
56
56
if ( note . user . requireSigninToViewContents && this . user == null ) return ;
57
+ if ( note . renote && note . renote . user . requireSigninToViewContents && this . user == null ) return ;
58
+ if ( note . reply && note . reply . user . requireSigninToViewContents && this . user == null ) return ;
57
59
58
60
// 関係ない返信は除外
59
61
if ( note . reply && this . user && ! this . following [ note . userId ] ?. withReplies && ! this . withReplies ) {
You can’t perform that action at this time.
0 commit comments