mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Remove workaround for getBoolean from JsonRpcLocalCommand
This commit is contained in:
parent
f44b148946
commit
c9f5550d18
17 changed files with 22 additions and 31 deletions
|
@ -117,8 +117,8 @@ public class App {
|
|||
|
||||
var username = ns.getString("username");
|
||||
|
||||
final var useDbus = ns.getBoolean("dbus");
|
||||
final var useDbusSystem = ns.getBoolean("dbus-system");
|
||||
final var useDbus = Boolean.TRUE.equals(ns.getBoolean("dbus"));
|
||||
final var useDbusSystem = Boolean.TRUE.equals(ns.getBoolean("dbus-system"));
|
||||
if (useDbus || useDbusSystem) {
|
||||
// If username is null, it will connect to the default object path
|
||||
initDbusClient(command, username, useDbusSystem, outputWriter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue