Modify context for Automations
[MAILPOET-5796]
This commit is contained in:
committed by
Aschepikov
parent
31f973409f
commit
74a8a0aefc
@@ -322,7 +322,14 @@ class AuthorizedSenderDomainController {
|
||||
'upperLimit' => self::UPPER_LIMIT,
|
||||
'isNewUser' => $this->isNewUser(),
|
||||
'isEnforcementOfNewRestrictionsInEffect' => $this->isEnforcementOfNewRestrictionsInEffect(),
|
||||
'alwaysRewrite' => false,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
public function getContextDataForAutomations(): array {
|
||||
$data = $this->getContextData();
|
||||
$data['senderRestrictions']['alwaysRewrite'] = true;
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user