We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0f0ddbe0 authored by Evan Prodromou's avatar Evan Prodromou

bad boolean logic for impossible stream

parent 473f6ffa
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment