]> nmode's Git Repositories - signal-cli/commitdiff
Merge branch master into dbus_updateConfiguration
authorJohn Freed <okgithub@johnfreed.com>
Thu, 14 Oct 2021 13:24:07 +0000 (15:24 +0200)
committerJohn Freed <okgithub@johnfreed.com>
Thu, 14 Oct 2021 13:24:07 +0000 (15:24 +0200)
1  2 
lib/src/main/java/org/asamk/signal/manager/Manager.java
lib/src/main/java/org/asamk/signal/manager/ManagerImpl.java
man/signal-cli-dbus.5.adoc
src/main/java/org/asamk/Signal.java
src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java
src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java

index 508a788113201f0cd196a6ae808191108579094f,550585805d35d6bd4025d101c99eee7d97828d0b..1a0fbfaaa76cd495b8d8628413b38b63aae80963
@@@ -367,37 -529,22 +529,42 @@@ uploadStickerPack(stickerPackPath<s>) -
  * stickerPackPath : Path to the manifest.json file or a zip file in the same directory
  * url             : URL of sticker pack after successful upload
  
 -Exceptions: Failure
 +Exception: Failure, IOError
 +
 +getConfiguration() -> [readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>] -> <>::
 +* readReceipts                   : Should Signal send read receipts (true/false).
 +* unidentifiedDeliveryIndicators : Should Signal show unidentified delivery indicators (true/false).
 +* typingIndicators               : Should Signal send/show typing indicators (true/false).
 +* linkPreviews                   : Should Signal generate link previews (true/false).
 +
 +Gets an array of four booleans as indicated. Only works from primary device.
 +
 +Exceptions: IOError, UserError
 +
 +setConfiguration(readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>) -> <>::
 +* readReceipts                   : Should Signal send read receipts (true/false).
 +* unidentifiedDeliveryIndicators : Should Signal show unidentified delivery indicators (true/false).
 +* typingIndicators               : Should Signal send/show typing indicators (true/false).
 +* linkPreviews                   : Should Signal generate link previews (true/false).
 +
 +Update Signal configurations and sync them to linked devices. Only works from primary device.
 +
 +Exceptions: IOError, UserError
  
- submitRateLimitChallenge(challenge<s>, captcha<s>) -> <>::
- * challenge : The challenge token taken from the proof required error.
- * captcha   : The captcha token from the solved captcha on the Signal website..
- Can be used to lift some rate-limits by solving a captcha.
+ version() -> version<s>::
+ * version : Version string of signal-cli
  
- Exception: IOErrorException
+ Exceptions: None
  
  == Signals
- SyncMessageReceived (timestamp<x>, sender<s>, destination<s>, groupId<ay>,message<s>, attachments<as>)::
+ SyncMessageReceived (timestamp<x>, sender<s>, destination<s>, groupId<ay>, message<s>, attachments<as>)::
+ * timestamp   : Integer value that can be used to associate this e.g. with a sendMessage()
+ * sender      : Phone number of the sender
+ * destination : DBus code for destination
+ * groupId     : Byte array representing the internal group identifier (empty when private message)
+ * message     : Message text
+ * attachments : String array of filenames in the signal-cli storage (~/.local/share/signal-cli/attachments/)
  The sync message is received when the user sends a message from a linked device.
  
  ReceiptReceived (timestamp<x>, sender<s>)::
Simple merge