]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/Signal.java
changing most DBus logger.info to logger.debug
[signal-cli] / src / main / java / org / asamk / Signal.java
index 349671b37bffb05e9fa058862046adb8b2afd6af..2dba13f826d807d442328e8a4c93488fa9c16d61 100644 (file)
@@ -318,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)
@@ -447,5 +454,19 @@ public interface Signal extends DBusInterface {
                 super(message);
             }
         }
+
+        class IOError extends DBusExecutionException {
+
+            public IOError(final String message) {
+                super(message);
+            }
+        }
+
+        class UserError extends DBusExecutionException {
+
+            public UserError(final String message) {
+                super(message);
+            }
+        }
     }
 }