First posting tests

This commit is contained in:
Michael 2018-09-16 17:47:00 +00:00
parent 629cca1963
commit e4d28629e4
4 changed files with 107 additions and 18 deletions

View file

@ -448,7 +448,7 @@ class Notifier
}
}
$condition = ['network' => Protocol::DFRN, 'uid' => $owner['uid'], 'blocked' => false,
$condition = ['network' => [Protocol::DFRN, Protocol::ACTIVITYPUB], 'uid' => $owner['uid'], 'blocked' => false,
'pending' => false, 'archive' => false, 'rel' => [Contact::FOLLOWER, Contact::FRIEND]];
$r2 = DBA::toArray(DBA::select('contact', ['id', 'name', 'network'], $condition));