]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use CachingNoticeStream for "All" feed (hope it works)
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 6 Mar 2014 10:47:27 +0000 (11:47 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 6 Mar 2014 10:47:27 +0000 (11:47 +0100)
lib/inboxnoticestream.php

index a8633314d55a2834ab2ea425d7157bec14aca672..cb81042e2b1fafac8d00fa9099469f2e1c4987db 100644 (file)
@@ -58,7 +58,7 @@ class InboxNoticeStream extends ScopingNoticeStream
             $scoped = Profile::current();
         }
         // FIXME: we don't use CachingNoticeStream - but maybe we should?
-        parent::__construct(new RawInboxNoticeStream($target), $scoped);
+        parent::__construct(new CachingNoticeStream(new RawInboxNoticeStream($target), 'profileall'), $scoped);
     }
 }