mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
fb21a42cce
commit
6baf0eac13
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ public class SendMessageRequestResponseCommand implements JsonRpcLocalCommand {
|
|||
final var recipientStrings = ns.<String>getList("recipient");
|
||||
final var groupIdStrings = ns.<String>getList("group-id");
|
||||
final var usernameStrings = ns.<String>getList("username");
|
||||
final var type = ns.<MessageRequestResponseType>get("type");
|
||||
final var typeObj = ns.get("type");
|
||||
final var type = typeObj instanceof MessageRequestResponseType t
|
||||
? t
|
||||
: MessageRequestResponseType.valueOf(((String) typeObj).toUpperCase());
|
||||
|
||||
final var recipientIdentifiers = CommandUtil.getRecipientIdentifiers(m,
|
||||
false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue