From 69ea12b956d167cd797b353907132bda84ef37bb Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 2 Jan 2022 17:52:40 +0100 Subject: [PATCH] Mark isRegistered() dbus method as deprecated It always return true. --- src/main/java/org/asamk/Signal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/asamk/Signal.java b/src/main/java/org/asamk/Signal.java index 85a617c3..6e6d9ff1 100644 --- a/src/main/java/org/asamk/Signal.java +++ b/src/main/java/org/asamk/Signal.java @@ -125,6 +125,7 @@ public interface Signal extends DBusInterface { byte[] groupId, String name, List members, String avatar ) throws Error.AttachmentInvalid, Error.Failure, Error.InvalidNumber, Error.GroupNotFound, Error.InvalidGroupId; + @Deprecated boolean isRegistered() throws Error.Failure, Error.InvalidNumber; boolean isRegistered(String number) throws Error.Failure, Error.InvalidNumber;