kopia lustrzana https://github.com/ryukoposting/Signal-Android
Prefer profile photo over system contact photo.
rodzic
a65c4f90f4
commit
6b2bc924dd
|
@ -607,8 +607,8 @@ public class Recipient {
|
|||
public @Nullable ContactPhoto getContactPhoto() {
|
||||
if (localNumber) return null;
|
||||
else if (isGroupInternal() && groupAvatarId.isPresent()) return new GroupRecordContactPhoto(groupId, groupAvatarId.get());
|
||||
else if (systemContactPhoto != null) return new SystemContactPhoto(id, systemContactPhoto, 0);
|
||||
else if (profileAvatar != null) return new ProfileContactPhoto(this, profileAvatar);
|
||||
else if (systemContactPhoto != null) return new SystemContactPhoto(id, systemContactPhoto, 0);
|
||||
else return null;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue