Move recipients/group argument check to send commands

This commit is contained in:
AsamK 2021-01-16 10:21:38 +01:00
parent 9e061c8667
commit b31e97dd2d
3 changed files with 31 additions and 25 deletions

View file

@ -93,11 +93,6 @@ public class Main {
return null;
}
if (ns.getList("recipient") != null && !ns.getList("recipient").isEmpty() && ns.getString("group") != null) {
System.err.println("You cannot specify recipients by phone number and groups at the same time");
System.exit(2);
}
return ns;
}