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

Commit ee81f988 authored by Evan Prodromou's avatar Evan Prodromou

use threadingnoticestream for inbox

parent 52fce18e
......@@ -56,7 +56,7 @@ class AllAction extends ProfileAction
{
parent::prepare($args);
$stream = new InboxNoticeStream($this->user);
$stream = new ThreadingInboxNoticeStream($this->user, Profile::current());
$this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE,
NOTICES_PER_PAGE + 1,
......@@ -205,3 +205,11 @@ class AllAction extends ProfileAction
}
}
}
class ThreadingInboxNoticeStream extends ThreadingNoticeStream
{
function __construct($user, $profile)
{
parent::__construct(new InboxNoticeStream($user, $profile));
}
}
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