From 0455d3e8a85bfde8832efd2da44def3c818e2c9d Mon Sep 17 00:00:00 2001 From: AsamK Date: Tue, 11 May 2021 18:39:11 +0200 Subject: [PATCH] Warn when using a legacy data path --- src/main/java/org/asamk/signal/App.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/asamk/signal/App.java b/src/main/java/org/asamk/signal/App.java index 873e96bd..af3fea4c 100644 --- a/src/main/java/org/asamk/signal/App.java +++ b/src/main/java/org/asamk/signal/App.java @@ -309,11 +309,13 @@ public class App { var legacySettingsPath = new File(configPath, "signal"); if (legacySettingsPath.exists()) { + logger.warn("Using legacy data path \"{}\", please move it to \"{}\".", legacySettingsPath, dataPath); return legacySettingsPath; } legacySettingsPath = new File(configPath, "textsecure"); if (legacySettingsPath.exists()) { + logger.warn("Using legacy data path \"{}\", please move it to \"{}\".", legacySettingsPath, dataPath); return legacySettingsPath; }