mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
implement Dbus isRegistered() methods (#729)
* implement Dbus isRegistered() methods isRegistered(number<s>) returns a boolean isRegistered(numbers<as>) returns an array of Booleans * Dbus isRegistered() methods restore isRegistered() and respond to other requests by AsamK
This commit is contained in:
parent
df8dd54791
commit
1c4a32fef4
3 changed files with 42 additions and 4 deletions
|
@ -87,7 +87,11 @@ public interface Signal extends DBusInterface {
|
|||
byte[] groupId, String name, List<String> members, String avatar
|
||||
) throws Error.AttachmentInvalid, Error.Failure, Error.InvalidNumber, Error.GroupNotFound, Error.InvalidGroupId;
|
||||
|
||||
boolean isRegistered();
|
||||
boolean isRegistered() throws Error.Failure, Error.InvalidNumber;
|
||||
|
||||
boolean isRegistered(String number) throws Error.Failure, Error.InvalidNumber;
|
||||
|
||||
List<Boolean> isRegistered(List<String> numbers) throws Error.Failure, Error.InvalidNumber;
|
||||
|
||||
void addDevice(String uri) throws Error.InvalidUri;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue