From 04c713e671663a64b573a28912dd06cf0de3cb58 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 3 Jul 2009 10:37:39 -0400 Subject: fixed limit for conversations --- actions/conversation.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/actions/conversation.php b/actions/conversation.php index 468409189..5049a2232 100644 --- a/actions/conversation.php +++ b/actions/conversation.php @@ -31,6 +31,11 @@ if (!defined('LACONICA')) { exit(1); } +// XXX: not sure how to do paging yet, +// so set a 60-notice limit + +define('CONVERSATION_LIMIT', 60); + require_once INSTALLDIR.'/lib/noticelist.php'; /** @@ -107,7 +112,7 @@ class ConversationAction extends Action function showContent() { - $notices = Notice::conversationStream($this->id, null); + $notices = Notice::conversationStream($this->id, null, CONVERSATION_LIMIT); $ct = new ConversationTree($notices, $this); -- cgit v1.2.3-54-g00ecf