diff --git a/src/Model/Group.php b/src/Model/Group.php index b9f4c7f27..cb8de042f 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -556,7 +556,7 @@ class Group * * @param integer $id Contact ID */ - public static function getMembersForForum(int $id) + public static function UpdateMembersForForum(int $id) { Logger::info('Update forum members', ['id' => $id]); diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index f79b46637..df71fd01d 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -733,7 +733,7 @@ class Notifier foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) { $target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid); if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) { - Group::getMembersForForum($target_contact['id']); + Group::UpdateMembersForForum($target_contact['id']); } }