mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Refactoring
This commit is contained in:
@@ -307,7 +307,7 @@ public class EntityMessage implements Serializable {
|
||||
return hasKeyword(MessageHelper.FLAG_FORWARDED);
|
||||
}
|
||||
|
||||
String checkReplyDomain(Context context) {
|
||||
String[] checkReplyDomain(Context context) {
|
||||
if (from == null || from.length == 0)
|
||||
return null;
|
||||
if (reply == null || reply.length == 0)
|
||||
@@ -328,7 +328,7 @@ public class EntityMessage implements Serializable {
|
||||
String fdomain = UriHelper.getParentDomain(context, f.substring(fat + 1));
|
||||
|
||||
if (!rdomain.equalsIgnoreCase(fdomain))
|
||||
return context.getString(R.string.title_reply_domain, fdomain, rdomain);
|
||||
return new String[]{fdomain, rdomain};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user