Show correct number of POSTs in conversation "more" link

This commit is contained in:
Mikael Nordfeldth 2014-07-15 14:26:42 +02:00
parent ea8cb21e98
commit 9afdc40763

View File

@ -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);