mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
Fix null pointer regression
This commit is contained in:
parent
7c7fc76a64
commit
3e981d66e9
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class SendCommand implements JsonRpcLocalCommand {
|
|||
if (attachments == null) {
|
||||
attachments = List.of();
|
||||
}
|
||||
final var viewOnce = ns.getBoolean("view-once");
|
||||
final var viewOnce = Boolean.TRUE.equals(ns.getBoolean("view-once"));
|
||||
|
||||
final var selfNumber = m.getSelfNumber();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue