function getNotices($offset, $limit, $since_id=null, $max_id=null)
{
- $stream = new PeopletagNoticeStream($this);
+ // FIXME: Use something else than Profile::current() to avoid
+ // possible confusion between session user and queue processing.
+ $stream = new PeopletagNoticeStream($this, Profile::current());
return $stream->getNotices($offset, $limit, $since_id, $max_id);
}