]> nmode's Git Repositories - signal-cli/blobdiff - lib/src/main/java/org/asamk/signal/manager/helper/Context.java
Add fallback KBS and migrate to current version
[signal-cli] / lib / src / main / java / org / asamk / signal / manager / helper / Context.java
index 522143ee71182fed03425a1263e53ea45d49c7b3..7ff8bd6426daafe0c7b86a9f742054bf12c3f535 100644 (file)
@@ -114,7 +114,9 @@ public class Context {
     }
 
     PinHelper getPinHelper() {
-        return getOrCreate(() -> pinHelper, () -> pinHelper = new PinHelper(dependencies.getKeyBackupService()));
+        return getOrCreate(() -> pinHelper,
+                () -> pinHelper = new PinHelper(dependencies.getKeyBackupService(),
+                        dependencies.getFallbackKeyBackupServices()));
     }
 
     public PreKeyHelper getPreKeyHelper() {