bad boolean logic for impossible stream
This commit is contained in:
parent
473f6ffac9
commit
0f0ddbe0c3
|
@ -87,7 +87,7 @@ class ProfileNoticeStream extends ScopingNoticeStream
|
|||
// If it's a private stream, and no user or not a subscriber
|
||||
|
||||
if (!empty($user) && $user->private_stream &&
|
||||
empty($this->userProfile) || !$this->userProfile->isSubscribed($this->streamProfile)) {
|
||||
(empty($this->userProfile) || !$this->userProfile->isSubscribed($this->streamProfile))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user