From 9afdc407631f1e485cb6d6479734787a935de052 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 15 Jul 2014 14:26:42 +0200 Subject: [PATCH] Show correct number of POSTs in conversation "more" link --- classes/Conversation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/Conversation.php b/classes/Conversation.php index 3acc283d62..c8d922a2f0 100755 --- a/classes/Conversation.php +++ b/classes/Conversation.php @@ -97,6 +97,7 @@ class Conversation extends Managed_DataObject $notice = new Notice(); $notice->conversation = $id; + $notice->whereAddIn('verb', array(ActivityVerb::POST, ActivityUtils::resolveUri(ActivityVerb::POST, true)), $notice->columnType('verb')); $cnt = $notice->count(); self::cacheSet($keypart, $cnt);