Fix issue where we do not display initials for contacts we have names for.
This commit is contained in:
parent
e97a14f617
commit
cfd69f2da8
1 changed files with 8 additions and 6 deletions
|
@ -775,6 +775,8 @@ public class Recipient {
|
|||
else if (isGroupInternal()) return fallbackPhotoProvider.getPhotoForGroup();
|
||||
else if (isGroup()) return fallbackPhotoProvider.getPhotoForGroup();
|
||||
else if (!TextUtils.isEmpty(groupName)) return fallbackPhotoProvider.getPhotoForRecipientWithName(groupName);
|
||||
else if (!TextUtils.isEmpty(systemContactName)) return fallbackPhotoProvider.getPhotoForRecipientWithName(systemContactName);
|
||||
else if (!signalProfileName.isEmpty()) return fallbackPhotoProvider.getPhotoForRecipientWithName(signalProfileName.toString());
|
||||
else return fallbackPhotoProvider.getPhotoForRecipientWithoutName();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue