Add commands to update contact names on Signal servers

As Signal Desktop does not allow its users to update the contact names,
it would be nice to be able to update contact names from signal-cli when
the latter is the master device.

The command `setContactName` allow to set the name for the given contact
in the local store. `sendContacts` can then be used to push the updated
contact list on Signal servers.

Closes #228
This commit is contained in:
Jérémy Bobbio 2019-09-24 19:43:40 +02:00 committed by AsamK
parent 0722ec2361
commit 53e7f83188
5 changed files with 78 additions and 1 deletions

View file

@ -223,6 +223,16 @@ with every outgoing messages (excluding group messages).
*--remove-avatar*::
Remove the avatar visible by message recipients.
setContactName
--------------
Update name associated to a number on our contact list. This change is only local but can be synchronized to other devices by using `sendContacts` (see below).
number::
Specify the contact phone number.
name::
Specify the new name for this contact.
sendContacts
------------
Update contact list on Signal servers.
daemon
~~~~~~
signal-cli can run in daemon mode and provides an experimental dbus interface. For