From: Mikael Nordfeldth Date: Tue, 15 Jul 2014 12:26:42 +0000 (+0200) Subject: Show correct number of POSTs in conversation "more" link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9afdc407631f1e485cb6d6479734787a935de052;p=quix0rs-gnu-social.git Show correct number of POSTs in conversation "more" link --- 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);