From 35e08f769f152ed77fc4cfe5f7a59923a306ea4b Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 4 Nov 2018 07:11:26 +0000 Subject: [PATCH] Use full email address for identicon --- app/src/main/java/eu/faircode/email/AdapterMessage.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 326c684fc5..63251879a1 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -293,9 +293,7 @@ public class AdapterMessage extends PagedListAdapter 0) - ivAvatar.setImageBitmap( - Identicon.generate(((InternetAddress) message.from[0]).getAddress(), - dp24, 5, "light".equals(theme))); + ivAvatar.setImageBitmap(Identicon.generate(message.from[0].toString(), dp24, 5, "light".equals(theme))); else ivAvatar.setImageDrawable(null); photo = true;