only count post-notices (i.e. don't include activity-notices in statuses_count in the API)
This commit is contained in:
parent
9a75778b29
commit
e10691abea
@ -824,6 +824,7 @@ class Profile extends Managed_DataObject
|
|||||||
|
|
||||||
$notices = new Notice();
|
$notices = new Notice();
|
||||||
$notices->profile_id = $this->id;
|
$notices->profile_id = $this->id;
|
||||||
|
$notices->whereAdd("verb = '".ActivityVerb::POST."'");
|
||||||
$cnt = (int) $notices->count('distinct id');
|
$cnt = (int) $notices->count('distinct id');
|
||||||
|
|
||||||
if (!empty($c)) {
|
if (!empty($c)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user