X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/09da3aae62d34de33b73dc53870090c23efe078a..94b3d9e2ed91b002751df0e04adba3cbc79e6bd1:/src/main/java/org/asamk/Signal.java diff --git a/src/main/java/org/asamk/Signal.java b/src/main/java/org/asamk/Signal.java index 28c192a0..2dba13f8 100644 --- a/src/main/java/org/asamk/Signal.java +++ b/src/main/java/org/asamk/Signal.java @@ -160,10 +160,6 @@ public interface Signal extends DBusInterface { String uploadStickerPack(String stickerPackPath) throws Error.Failure; - void setConfiguration(boolean readReceipts, boolean unidentifiedDeliveryIndicators, boolean typingIndicators, boolean linkPreviews) throws Error.IOError, Error.UserError; - - List getConfiguration(); - void submitRateLimitChallenge(String challenge, String captchaString) throws IOErrorException; class MessageReceived extends DBusSignal { @@ -322,6 +318,13 @@ public interface Signal extends DBusInterface { void removeDevice() throws Error.Failure; } + @DBusProperty(name = "ConfigurationReadReceipts", type = Boolean.class) + @DBusProperty(name = "ConfigurationUnidentifiedDeliveryIndicators", type = Boolean.class) + @DBusProperty(name = "ConfigurationTypingIndicators", type = Boolean.class) + @DBusProperty(name = "ConfigurationLinkPreviews", type = Boolean.class) + interface Configuration extends DBusInterface, Properties { + } + class StructGroup extends Struct { @Position(0)