// XXX: not sure how to do paging yet,
// so set a 60-notice limit
-define('CONVERSATION_LIMIT', 60);
-
require_once INSTALLDIR.'/lib/noticelist.php';
/**
function showContent()
{
- $notices = Notice::conversationStream($this->id, null, CONVERSATION_LIMIT);
+ $notices = Notice::conversationStream($this->id, 0, null);
$ct = new ConversationTree($notices, $this);
if (empty($cache) ||
$since_id != 0 || $max_id != 0 || (!is_null($since) && $since > 0) ||
+ is_null($limit) ||
($offset + $limit) > NOTICE_CACHE_WINDOW) {
return call_user_func_array($fn, array_merge($args, array($offset, $limit, $since_id,
$max_id, $since)));