diff --git a/lib/inboxnoticestream.php b/lib/inboxnoticestream.php index 83fa5eaad7..c8b5ccd7af 100644 --- a/lib/inboxnoticestream.php +++ b/lib/inboxnoticestream.php @@ -41,6 +41,7 @@ if (!defined('GNUSOCIAL')) { * @author Evan Prodromou * @author Mikael Nordfeldth * @author Alexei Sorokin + * @author chimo * @copyright 2011 StatusNet, Inc. * @copyright 2014 Free Software Foundation, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 @@ -56,8 +57,7 @@ class InboxNoticeStream extends ScopingNoticeStream */ public function __construct(Profile $target, Profile $scoped = null) { - // FIXME: we don't use CachingNoticeStream - but maybe we should? - parent::__construct(new CachingNoticeStream(new RawInboxNoticeStream($target), 'profileall'), $scoped); + parent::__construct(new CachingNoticeStream(new RawInboxNoticeStream($target), 'profileall:'.$target->getID()), $scoped); } }