mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-26 10:34:23 +01:00
Implement configuration properties for dbus
Closes #759 commit 169bb518bf6a43bd0bf14e1291f055017a5d5937 Author: John Freed <okgithub@johnfreed.com> Date: Fri Oct 15 08:53:34 2021 +0200 remove org.asamk.signal.manager.api.Configuration commit 27ecfee382f0f1402f452a9f5fb1079b2f9c9fc5 Author: John Freed <okgithub@johnfreed.com> Date: Fri Oct 15 08:40:13 2021 +0200 add a DBus "daemon running" indicator commit 94b3d9e2ed91b002751df0e04adba3cbc79e6bd1 Author: John Freed <okgithub@johnfreed.com> Date: Fri Oct 15 08:20:03 2021 +0200 changing most DBus logger.info to logger.debug commit 15da0601272db4b907bf94240b436667870cea87 Author: John Freed <okgithub@johnfreed.com> Date: Fri Oct 15 00:09:26 2021 +0200 Configuration for Dbus and main Main program subcommand - fix logic to take into account previously unset flags - provide output in json and plain-text formats new Dbus Properties: - ConfigurationReadReceipts - ConfigurationUnidentifiedDeliveryIndicators - ConfigurationTypingIndicators - ConfigurationLinkPreviews removed getConfiguration and setConfiguration methods updated documentation commit 09da3aae62d34de33b73dc53870090c23efe078a Merge: 3c40b1118ad9fbAuthor: John Freed <okgithub@johnfreed.com> Date: Thu Oct 14 15:24:07 2021 +0200 Merge branch master into dbus_updateConfiguration commit 3c40b11b8a6a0619e92de6d54262966aee27fd5d Merge: 8416d4acadcc6cAuthor: John Freed <okgithub@johnfreed.com> Date: Sat Oct 9 14:08:08 2021 +0200 Merge branch master into dbus_updateConfiguration commit 8416d4ac475af5c512d963bf79e62e933592e20a Author: John Freed <okgithub@johnfreed.com> Date: Mon Oct 4 08:48:56 2021 +0200 Dbus get/setConfiguration methods implement: - getConfiguration() -> [readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>] -> <>:: - setConfiguration(readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>) -> <>:: Update documentation
This commit is contained in:
@@ -458,6 +458,12 @@ public interface Signal extends DBusInterface {
|
||||
void removeDevice() throws Error.Failure;
|
||||
}
|
||||
|
||||
@DBusProperty(name = "ReadReceipts", type = Boolean.class)
|
||||
@DBusProperty(name = "UnidentifiedDeliveryIndicators", type = Boolean.class)
|
||||
@DBusProperty(name = "TypingIndicators", type = Boolean.class)
|
||||
@DBusProperty(name = "LinkPreviews", type = Boolean.class)
|
||||
interface Configuration extends DBusInterface, Properties {}
|
||||
|
||||
class StructGroup extends Struct {
|
||||
|
||||
@Position(0)
|
||||
|
||||
Reference in New Issue
Block a user