Fix null pointer regression

This commit is contained in:
AsamK committed 2025-07-14 18:52:41 +02:00
1 parent 7c7fc76a64
commit 3e981d66e9
1 file changed
+1 -1
@@ -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();