From 27b502c53072891ee8cd1e5ab0882c5d65821054 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 24 Oct 2020 12:53:30 +0200 Subject: [PATCH] You --- app/src/main/java/eu/faircode/email/Core.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index fbb4f7ae50..f3b46877a7 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -4058,8 +4058,11 @@ class Core { if (info[0].hasPhoto()) mbuilder.setLargeIcon(info[0].getPhotoBitmap()); - if (info[0].hasLookupUri()) - mbuilder.addPerson(info[0].getLookupUri().toString()); + if (info[0].hasLookupUri()) { + Person.Builder you = new Person.Builder() + .setUri(info[0].getLookupUri().toString()); + mbuilder.addPerson(you.build()); + } Integer color = getColor(message); if (pro && color != null) {