Fix null pointer regression
This commit is contained in:
parent
7c7fc76a64
commit
3e981d66e9
@ -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…
x
Reference in New Issue
Block a user