|
|
@ -2553,7 +2553,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibPinContact.setVisibility(show_addresses && pin && contacts && froms > 0 ? View.VISIBLE : View.GONE);
|
|
|
|
ibPinContact.setVisibility(show_addresses && pin && contacts && froms > 0 ? View.VISIBLE : View.GONE);
|
|
|
|
ibAddContact.setVisibility(show_addresses && contacts && froms > 0 ? View.VISIBLE : View.GONE);
|
|
|
|
ibAddContact.setVisibility(show_addresses && contacts && froms > 0 ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boolean known_signer = false;
|
|
|
|
boolean known_signer = false;
|
|
|
|
if (native_dkim &&
|
|
|
|
if (native_dkim &&
|
|
|
|
message.signedby != null &&
|
|
|
|
message.signedby != null &&
|
|
|
@ -4991,6 +4990,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void onInfo(TupleMessageEx message, boolean gpa) {
|
|
|
|
private void onInfo(TupleMessageEx message, boolean gpa) {
|
|
|
|
|
|
|
|
if (!BuildConfig.DEBUG)
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
Address[] from;
|
|
|
|
Address[] from;
|
|
|
|
if (message.reply == null || message.reply.length == 0)
|
|
|
|
if (message.reply == null || message.reply.length == 0)
|
|
|
|
from = (isOutgoing(message) ? message.to : message.from);
|
|
|
|
from = (isOutgoing(message) ? message.to : message.from);
|
|
|
@ -4998,9 +5000,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
from = message.reply;
|
|
|
|
from = message.reply;
|
|
|
|
if (from == null || from.length == 0)
|
|
|
|
if (from == null || from.length == 0)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
String email = ((InternetAddress) from[0]).getAddress();
|
|
|
|
String email = ((InternetAddress) from[0]).getAddress();
|
|
|
|
if (TextUtils.isEmpty(email))
|
|
|
|
if (TextUtils.isEmpty(email))
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
Uri uri;
|
|
|
|
Uri uri;
|
|
|
|
if (gpa)
|
|
|
|
if (gpa)
|
|
|
|
uri = Uri.parse(BuildConfig.GPA_URI).buildUpon()
|
|
|
|
uri = Uri.parse(BuildConfig.GPA_URI).buildUpon()
|
|
|
|