Fix file name for contact avatars

This commit is contained in:
AsamK 2021-01-14 21:26:20 +01:00
parent 96d316b1dd
commit c95897d17b

View file

@ -72,7 +72,7 @@ public class AvatarStore {
} }
private File getContactAvatarFile(SignalServiceAddress address) { private File getContactAvatarFile(SignalServiceAddress address) {
return new File(avatarsPath, "contact-" + address); return new File(avatarsPath, "contact-" + address.getLegacyIdentifier());
} }
private File getProfileAvatarFile(SignalServiceAddress address) { private File getProfileAvatarFile(SignalServiceAddress address) {