From d82f4a871785c7e276ecadd773c3db0e3b289c85 Mon Sep 17 00:00:00 2001 From: technillogue Date: Sat, 9 Oct 2021 11:55:33 -0400 Subject: [PATCH] Update to new provisioning URL scheme (#762) --- lib/src/main/java/org/asamk/signal/manager/DeviceLinkInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/org/asamk/signal/manager/DeviceLinkInfo.java b/lib/src/main/java/org/asamk/signal/manager/DeviceLinkInfo.java index 1f9d10ff..3ba1ef20 100644 --- a/lib/src/main/java/org/asamk/signal/manager/DeviceLinkInfo.java +++ b/lib/src/main/java/org/asamk/signal/manager/DeviceLinkInfo.java @@ -65,7 +65,7 @@ public class DeviceLinkInfo { public URI createDeviceLinkUri() { final var deviceKeyString = Base64.getEncoder().encodeToString(deviceKey.serialize()).replace("=", ""); try { - return new URI("tsdevice:/?uuid=" + return new URI("sgnl://linkdevice?uuid=" + URLEncoder.encode(deviceIdentifier, StandardCharsets.UTF_8) + "&pub_key=" + URLEncoder.encode(deviceKeyString, StandardCharsets.UTF_8));