mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Add --hide parameter to removeContact command
This commit is contained in:
parent
9f4a2b3e26
commit
7b0744ec75
14 changed files with 96 additions and 35 deletions
|
@ -452,6 +452,10 @@ public class DbusManagerImpl implements Manager {
|
|||
return new SendMessageResults(0, Map.of());
|
||||
}
|
||||
|
||||
public void hideRecipient(final RecipientIdentifier.Single recipient) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteRecipient(final RecipientIdentifier.Single recipient) {
|
||||
signal.deleteRecipient(recipient.getIdentifier());
|
||||
|
@ -653,7 +657,7 @@ public class DbusManagerImpl implements Manager {
|
|||
}
|
||||
return Recipient.newBuilder()
|
||||
.withAddress(new RecipientAddress(null, n))
|
||||
.withContact(new Contact(contactName, null, null, 0, contactBlocked, false, false))
|
||||
.withContact(new Contact(contactName, null, null, 0, contactBlocked, false, false, false))
|
||||
.build();
|
||||
}).filter(Objects::nonNull).toList();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue