Refactor UpdateContactCommand

This commit is contained in:
AsamK 2019-10-16 19:26:52 +02:00
parent 53e7f83188
commit faae998a7e
4 changed files with 20 additions and 12 deletions

View file

@ -223,16 +223,24 @@ with every outgoing messages (excluding group messages).
*--remove-avatar*::
Remove the avatar visible by message recipients.
setContactName
updateContact
--------------
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::
Update the info 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).
If the contact doesn't exist yet, it will be added.
NUMBER::
Specify the contact phone number.
name::
*-n*, *--name*::
Specify the new name for this contact.
sendContacts
------------
Update contact list on Signal servers.
Send a synchronization message with the local contacts list to all linked devices.
This command should only be used if this is the master device.
daemon
~~~~~~
signal-cli can run in daemon mode and provides an experimental dbus interface. For