Small optimization

This commit is contained in:
M66B 2020-07-06 08:11:01 +02:00
parent 750d6cb860
commit 3cfd772f76
1 changed files with 1 additions and 1 deletions

View File

@ -1128,7 +1128,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (show_recipients && recipients != null)
all.addAll(Arrays.asList(recipients));
ContactInfo[] info = ContactInfo.getCached(context, message.account, message.folderType, all.toArray(new Address[0]));
if (info == null) {
if (info == null && avatars) {
if (taskContactInfo != null)
taskContactInfo.cancel(context);