Issue 13812: Public groups with manual request approval

This commit is contained in:
Michael 2024-04-07 16:32:50 +00:00
parent 02d8cc2f71
commit 69fc2c04e4
18 changed files with 179 additions and 157 deletions

View file

@ -191,7 +191,7 @@ class Ping extends BaseModule
if (!$this->notify->shouldShowOnDesktop($notification)) {
return null;
}
if (($notification->type == Post\UserNotification::TYPE_NONE) && in_array($owner['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP])) {
if (($notification->type == Post\UserNotification::TYPE_NONE) && in_array($owner['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP, User::PAGE_FLAGS_COMM_MAN])) {
return null;
}
try {