forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[signal] musl support + update to signal-cli 0.13.3 + support for rea…
…ction
- Loading branch information
Showing
55 changed files
with
642 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...nding.signal/src/3rdparty/java/org/asamk/signal/manager/api/CaptchaRejectedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.asamk.signal.manager.api; | ||
|
||
public class CaptchaRejectedException extends Exception { | ||
|
||
public CaptchaRejectedException() { | ||
super("Captcha rejected"); | ||
} | ||
|
||
public CaptchaRejectedException(final String message) { | ||
super(message); | ||
} | ||
|
||
public CaptchaRejectedException(final String message, final Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
...s/org.openhab.binding.signal/src/3rdparty/java/org/asamk/signal/manager/api/Identity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
package org.asamk.signal.manager.api; | ||
|
||
import org.signal.libsignal.protocol.IdentityKey; | ||
|
||
public record Identity( | ||
RecipientAddress recipient, | ||
IdentityKey identityKey, | ||
byte[] fingerprint, | ||
String safetyNumber, | ||
byte[] scannableSafetyNumber, | ||
TrustLevel trustLevel, | ||
long dateAddedTimestamp | ||
) { | ||
|
||
public byte[] getFingerprint() { | ||
return identityKey.getPublicKey().serialize(); | ||
} | ||
} | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.