From c95897d17b6ed21d345cc860c8afd6d685d2b4a1 Mon Sep 17 00:00:00 2001 From: AsamK Date: Thu, 14 Jan 2021 21:26:20 +0100 Subject: [PATCH] Fix file name for contact avatars --- src/main/java/org/asamk/signal/manager/AvatarStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/manager/AvatarStore.java b/src/main/java/org/asamk/signal/manager/AvatarStore.java index fbb99a1c..b7244ce2 100644 --- a/src/main/java/org/asamk/signal/manager/AvatarStore.java +++ b/src/main/java/org/asamk/signal/manager/AvatarStore.java @@ -72,7 +72,7 @@ public class AvatarStore { } private File getContactAvatarFile(SignalServiceAddress address) { - return new File(avatarsPath, "contact-" + address); + return new File(avatarsPath, "contact-" + address.getLegacyIdentifier()); } private File getProfileAvatarFile(SignalServiceAddress address) {