PSL refactoring

This commit is contained in:
M66B
2022-05-02 09:55:27 +02:00
parent 682acc879b
commit 65bf57094d
9 changed files with 70 additions and 48 deletions

View File

@@ -337,11 +337,11 @@ public class EntityMessage implements Serializable {
}
String[] checkFromDomain(Context context) {
return MessageHelper.equalDomain(context, from, smtp_from);
return MessageHelper.equalRootDomain(context, from, smtp_from);
}
String[] checkReplyDomain(Context context) {
return MessageHelper.equalDomain(context, reply, from);
return MessageHelper.equalRootDomain(context, reply, from);
}
static String getSubject(Context context, String language, String subject, boolean forward) {