bad boolean logic for impossible stream
This commit is contained in:
parent
51229ca662
commit
e76b191c4b
|
@ -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