mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-05 15:14:27 +01:00
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:
@@ -1416,7 +1416,7 @@ public class Manager implements Signal {
|
||||
}
|
||||
}
|
||||
|
||||
private void sendContacts() throws IOException, UntrustedIdentityException {
|
||||
public void sendContacts() throws IOException, UntrustedIdentityException {
|
||||
File contactsFile = IOUtils.createTempFile();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user