function getNotices($offset, $limit, $since_id=null, $max_id=null)
{
- $stream = new GroupNoticeStream($this);
+ // FIXME: Get the Profile::current() some other way, to avoid
+ // possible confusion between current session and queue process.
+ $stream = new GroupNoticeStream($this, Profile::current());
return $stream->getNotices($offset, $limit, $since_id, $max_id);
}