mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update argparse4j
This commit is contained in:
parent
06e9f8ba64
commit
8e8eed7b06
10 changed files with 21 additions and 18 deletions
|
@ -47,7 +47,7 @@ public class SendCommand implements DbusCommand {
|
|||
final List<String> recipients = ns.getList("recipient");
|
||||
final var isEndSession = ns.getBoolean("endsession");
|
||||
final var groupIdString = ns.getString("group");
|
||||
final var isNoteToSelf = ns.getBoolean("note_to_self");
|
||||
final var isNoteToSelf = ns.getBoolean("note-to-self");
|
||||
|
||||
final var noRecipients = recipients == null || recipients.isEmpty();
|
||||
if ((noRecipients && isEndSession) || (noRecipients && groupIdString == null && !isNoteToSelf)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue