Fix null pointer regression

This commit is contained in:
AsamK 2025-07-14 18:52:41 +02:00
parent 7c7fc76a64
commit 3e981d66e9

View file

@ -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();