mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Issue 13812: Public groups with manual request approval
This commit is contained in:
parent
02d8cc2f71
commit
69fc2c04e4
18 changed files with 179 additions and 157 deletions
|
@ -71,6 +71,7 @@ class UpdateCredentials extends BaseApi
|
|||
}
|
||||
|
||||
if ($user['account-type'] == Contact::TYPE_COMMUNITY) {
|
||||
// @todo Support for PAGE_FLAGS_COMM_MAN
|
||||
$user['page-flags'] = $request['locked'] ? User::PAGE_FLAGS_PRVGROUP : User::PAGE_FLAGS_COMMUNITY;
|
||||
} elseif ($user['account-type'] == Contact::TYPE_PERSON) {
|
||||
if ($request['locked']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue