mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Remove TextSecurePreferences.getAvatarId()
This commit is contained in:
@@ -608,7 +608,7 @@ public class Recipient {
|
||||
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(id, profileAvatar);
|
||||
else if (profileAvatar != null) return new ProfileContactPhoto(this, profileAvatar);
|
||||
else return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user