mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-03 06:04:20 +01:00
Add more information for libsignal-client native dependency
This commit is contained in:
@@ -49,6 +49,15 @@ public class ServiceConfig {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isSignalClientAvailable() {
|
||||
try {
|
||||
org.signal.client.internal.Native.DisplayableFingerprint_Format(new byte[30], new byte[30]);
|
||||
return true;
|
||||
} catch (UnsatisfiedLinkError ignored) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static AccountAttributes.Capabilities getCapabilities() {
|
||||
return capabilities;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user