Add meta protocol group for private post support

This commit is contained in:
Hypolite Petovan 2019-07-19 22:19:29 -04:00
parent 4e427f615b
commit 3e6018b3f2
2 changed files with 4 additions and 2 deletions

View file

@ -336,7 +336,7 @@ class Group extends BaseObject
$followersStmt = Contact::select(['id'], [
'uid' => $uid,
'rel' => [Contact::FOLLOWER, Contact::FRIEND],
'protocol' => Protocol::NATIVE_SUPPORT,
'protocol' => Protocol::SUPPORT_PRIVATE,
]);
while($follower = DBA::fetch($followersStmt)) {
@ -351,7 +351,7 @@ class Group extends BaseObject
$mutualsStmt = Contact::select(['id'], [
'uid' => $uid,
'rel' => [Contact::FRIEND],
'protocol' => Protocol::NATIVE_SUPPORT,
'protocol' => Protocol::SUPPORT_PRIVATE,
]);
while($mutual = DBA::fetch($mutualsStmt)) {