Signald: Difference between revisions

imported>Onny
add section on group handling
imported>Onny
Add troubleshooting section
Line 64: Line 64:
Join a chat group with the account <code>+12025555555</code>
Join a chat group with the account <code>+12025555555</code>


signaldctl group join -a +12025555555 EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE=
<syntaxhighlight lang="console">
# signaldctl group join -a +12025555555 EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE=
</syntaxhighlight>
 
== Troubleshooting ==
 
=== Registration fails with "error registering with server" ===
 
This registration error might be related to an [https://gitlab.com/signald/signald/-/issues/372 open bug] in Signald. As an alternative, it is possible to use the client <code>signal-cli</code> to register and verify a new phone number and use Signald as a secondary "device" by linking it
 
<syntaxhighlight lang="console">
# nix-shell -p nixos.signal-cli
# Register account with the phone number +12025555555. You'll most likley need to generate a captcha and specify it with a parameter. See registration section above on how to do this.
# signal-cli -a "+12025555555" register --captcha "abcd"
Enter the verification number received via SMS
# signal-cli -a "+12025555555" verify "1234"
Generate the device uri in Signald to link the existing account
# signaldctl account link --output-format json
Use the uri generated above in the following command
# signal-cli -a "+12025555555" addDevice --uri "abcd"
</syntaxhighlight>
 
Now Signald is able to use the phone number <code>+12025555555</code>, registered with signal-cli, as a secondary device.


[[Category:Messaging]]
[[Category:Messaging]]