summaryrefslogtreecommitdiff
path: root/actions/conversation.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-03 10:37:39 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-03 10:37:39 -0400
commit04c713e671663a64b573a28912dd06cf0de3cb58 (patch)
tree3f632cf237518624a87a3bfeb86da73424143bbb /actions/conversation.php
parentc04e3c77695ada3cd77ad9e07617be9a581e9f74 (diff)
fixed limit for conversations
Diffstat (limited to 'actions/conversation.php')
-rw-r--r--actions/conversation.php7
1 files changed, 6 insertions, 1 deletions
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);