New post class in model classes

This commit is contained in:
Michael 2021-01-16 04:13:22 +00:00
parent 3ab4e20fe6
commit b0d1a295fe
9 changed files with 77 additions and 76 deletions

View file

@ -592,7 +592,7 @@ class Profile
$condition = ['parent-uri' => $rr['uri'], 'uid' => $rr['uid'], 'author-id' => public_contact(),
'vid' => [Verb::getID(Activity::ATTEND), Verb::getID(Activity::ATTENDMAYBE)],
'visible' => true, 'deleted' => false];
if (!Item::exists($condition)) {
if (!Post::exists($condition)) {
continue;
}