mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
1 parent
fb21a42cce
commit
6baf0eac13
1 file changed
+4
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user