mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +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
|
@ -65,7 +65,7 @@ public class JsonRpcDispatcherCommand implements LocalCommand {
|
|||
public void handleCommand(
|
||||
final Namespace ns, final Manager m, final OutputWriter outputWriter
|
||||
) throws CommandException {
|
||||
final boolean ignoreAttachments = ns.getBoolean("ignore-attachments");
|
||||
final boolean ignoreAttachments = Boolean.TRUE.equals(ns.getBoolean("ignore-attachments"));
|
||||
|
||||
final var objectMapper = Util.createJsonObjectMapper();
|
||||
final var jsonRpcSender = new JsonRpcSender((JsonWriter) outputWriter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue