Always cache lookup URIs

This commit is contained in:
M66B
2019-04-05 08:33:43 +02:00
parent 3f2c34fbf5
commit 423d026cad
5 changed files with 13 additions and 13 deletions

View File

@@ -260,7 +260,7 @@ public class EntityRule {
reply.received = new Date().getTime();
reply.sender = MessageHelper.getSortKey(reply.from);
Uri lookupUri = ContactInfo.getLookupUri(context, reply.from, true);
Uri lookupUri = ContactInfo.getLookupUri(context, reply.from);
reply.avatar = (lookupUri == null ? null : lookupUri.toString());
reply.id = db.message().insertMessage(reply);