forked from GNUsocial/gnu-social
Show correct number of POSTs in conversation "more" link
This commit is contained in:
parent
ea8cb21e98
commit
9afdc40763
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user