mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-03 14:14:22 +01:00
Update to new provisioning URL scheme (#762)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user