Replies: 1 comment
-
moved to issue #433 as I think it's a better fit there |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, there was an update to signal-cli regarding linking devices in JSON-RPC mode, it would be really nice to have this support in this project, as for e.g. my application I need to be able to link devices on the fly.
Issue: AsamK/signal-cli#1319
Commit: AsamK/signal-cli@a7a5947
It requires the json-rpc client to be connected without a
-u
parameter (in multi-account mode), and for there to be 2 requests sent (startLink
which gets the QR code andfinishLink
which waits for the device to be registered). It seems this would require big changes in the way we handle the JSON-RPC connectionsjsonrpc2.yml
config after the linking is finished and reload itSo far, I have got it to actually link the number in the background and add it to
data/
, but I think actually reloadingjsonrpc2.yml
would require some big changes and assistance/guidance from @bbernhard (let me know if I'm on the right path)My branch: c7f2283
Beta Was this translation helpful? Give feedback.
All reactions