forked from GNUsocial/gnu-social
Merge branch 'nightly' into 'nightly'
only count post-notices (i.e. don't include activity-notices in statuses_count in the API) See merge request !73
This commit is contained in:
commit
d45457e4a9
@ -822,6 +822,7 @@ class Profile extends Managed_DataObject
|
||||
|
||||
$notices = new Notice();
|
||||
$notices->profile_id = $this->id;
|
||||
$notices->verb = ActivityVerb::POST;
|
||||
$cnt = (int) $notices->count('distinct id');
|
||||
|
||||
if (!empty($c)) {
|
||||
|
Loading…
Reference in New Issue
Block a user