Merge pull request #14083 from annando/issue-13812

Issue 13812: Public groups with manual request approval
This commit is contained in:
Tobias Diekershoff 2024-04-09 18:46:44 +02:00 committed by GitHub
commit 9626a76b18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 179 additions and 157 deletions

View file

@ -392,7 +392,7 @@ class DFRN
}
// For backward compatibility we keep this element
if ($owner['page-flags'] == User::PAGE_FLAGS_COMMUNITY) {
if (in_array($owner['page-flags'], [User::PAGE_FLAGS_COMMUNITY, User::PAGE_FLAGS_COMM_MAN])) {
XML::addElement($doc, $root, 'dfrn:community', 1);
}