mirror of
https://github.com/friendica/friendica
synced 2025-05-02 08:24:22 +02:00
Add meta protocol group for private post support
This commit is contained in:
parent
4e427f615b
commit
3e6018b3f2
2 changed files with 4 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue