mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
parent
a089a5ef04
commit
ed79e0b377
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ public class SendCommand implements JsonRpcLocalCommand {
|
|||
final var quoteTimestamp = ns.getLong("quote-timestamp");
|
||||
if (quoteTimestamp != null) {
|
||||
final var quoteAuthor = ns.getString("quote-author");
|
||||
if (quoteAuthor == null) {
|
||||
throw new UserErrorException("Quote author parameter is missing");
|
||||
}
|
||||
final var quoteMessage = ns.getString("quote-message");
|
||||
final var quoteMentionStrings = ns.<String>getList("quote-mention");
|
||||
final var quoteMentions = quoteMentionStrings == null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue