forked from GNUsocial/gnu-social
Fix bug in 36a55d84
.
We still have to further review and improve the caching of streams. Important related changes: 2272cc24#diff-8633314d55a2834ab2ea425d7157bec14aca672L60 Important related discussion: https://github.com/chimo/gs-rediscache/issues/{1,2}
This commit is contained in:
parent
6b5450b7e6
commit
0042971d74
@ -41,6 +41,7 @@ if (!defined('GNUSOCIAL')) {
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @author Alexei Sorokin <sor.alexei@meowr.ru>
|
||||
* @author chimo <chimo@chromic.org>
|
||||
* @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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user