mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
Extend updateContact command with nick given/family name and note
This commit is contained in:
parent
d57442bd2a
commit
5e16123632
7 changed files with 66 additions and 17 deletions
|
@ -531,7 +531,7 @@ public class DbusSignalImpl implements Signal, AutoCloseable {
|
|||
@Override
|
||||
public void setContactName(final String number, final String name) {
|
||||
try {
|
||||
m.setContactName(getSingleRecipientIdentifier(number, m.getSelfNumber()), name, "");
|
||||
m.setContactName(getSingleRecipientIdentifier(number, m.getSelfNumber()), name, "", null, null, null);
|
||||
} catch (NotPrimaryDeviceException e) {
|
||||
throw new Error.Failure("This command doesn't work on linked devices.");
|
||||
} catch (UnregisteredRecipientException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue