git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 9afdc407 authored by mmn's avatar mmn

Show correct number of POSTs in conversation "more" link

parent ea8cb21e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment