mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-08 16:34:25 +01:00
@@ -387,6 +387,24 @@ public class DbusSignalImpl implements Signal {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteRecipient(final String recipient) throws Error.Failure {
|
||||
try {
|
||||
m.deleteRecipient(getSingleRecipientIdentifier(recipient, m.getSelfNumber()));
|
||||
} catch (IOException e) {
|
||||
throw new Error.Failure("Recipient not found");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteContact(final String recipient) throws Error.Failure {
|
||||
try {
|
||||
m.deleteContact(getSingleRecipientIdentifier(recipient, m.getSelfNumber()));
|
||||
} catch (IOException e) {
|
||||
throw new Error.Failure("Contact not found");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public long sendGroupMessage(final String message, final List<String> attachments, final byte[] groupId) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user