Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1965: FIS Active Messaging: Collection filter did not work. #330

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Classes/Services/Email/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function sendDocumentDeletedNotification(\EWW\Dpf\Domain\Model\Document $
$client = $this->clientRepository->findAll()->current();

$internalFormat = new InternalFormat($document->getXmlData());
if ($internalFormat->getFisId()) {
if ($internalFormat->getFisId() && $this->isFisRelevant($document)) {
// Active messaging: Suggestion decline
$this->sendActiveMessage(
$document,
Expand All @@ -305,7 +305,7 @@ public function sendChangedDocumentNotification(\EWW\Dpf\Domain\Model\Document $
$internalFormat = new InternalFormat($document->getXmlData());

// Active messaging: Document changed
if (!$addedFisIdOnly && $internalFormat->getFisId()) {
if (!$addedFisIdOnly && $internalFormat->getFisId() && $this->isFisRelevant($document)) {
$this->sendActiveMessage(
$document,
$client->getActiveMessagingChangedDocumentUrl(),
Expand Down