* Add command to get an attachment
* Refactor retrieving of attachments to use StreamDetails
* Refactor AttachmentCommand to GetAttachmentCommand
* Minor improvements to GetAttachmentCommand
* Use JSON serializer to serialize binary data
Serializing the stream is better for memory handling than
loading the whole thing into the file.
* Clean up unneeded class
* Added command to doc
Co-authored-by: cedb <cedb@keylimebox.org>
* Add blockContact and unblockContact subcommands
* Send blocked status in contacts sync
* Use only one method for blocking and unblocking
* Add blocking/unblocking for groups
* Prevent blocked messages from being printed
* Print blocked property in listContacts and listGroups commands
* Handle BlockedListMessages
* Store blocked state from incoming contact and group sync messages
* Minor changes and corrections
* Add block and unblock commands to man file (and also fix some headings of commands)
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
Two new commands are added `setProfileName` and `setProfileAvatar` which
allow to update the name and avatar visible by other users for the
current profiles.
Closes#227