TF-3985 Prefer to use domain from platform rather than from email
This commit is contained in:
@@ -14,7 +14,7 @@ class PaywallUrlPattern with EquatableMixin {
|
||||
return PaywallUtils.buildPaywallUrlFromTemplate(
|
||||
template: pattern,
|
||||
localPart: mailAddress?.localPart,
|
||||
domainName: mailAddress?.domain.domainName,
|
||||
domainName: domainName ?? mailAddress?.domain.domainName,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user