kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue where we do not display initials for contacts we have names for.
rodzic
e97a14f617
commit
cfd69f2da8
|
@ -775,6 +775,8 @@ public class Recipient {
|
||||||
else if (isGroupInternal()) return fallbackPhotoProvider.getPhotoForGroup();
|
else if (isGroupInternal()) return fallbackPhotoProvider.getPhotoForGroup();
|
||||||
else if (isGroup()) return fallbackPhotoProvider.getPhotoForGroup();
|
else if (isGroup()) return fallbackPhotoProvider.getPhotoForGroup();
|
||||||
else if (!TextUtils.isEmpty(groupName)) return fallbackPhotoProvider.getPhotoForRecipientWithName(groupName);
|
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();
|
else return fallbackPhotoProvider.getPhotoForRecipientWithoutName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue