mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
Update SendCommand.java
update a comment
This commit is contained in:
parent
567748858f
commit
dc8daa3cd4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class SendCommand implements DbusCommand {
|
|||
}
|
||||
|
||||
// check to see if message is a JSON
|
||||
// { "messageText": "string", "attachments": [ "base64" ] }
|
||||
// { "message": "string", "attachments": [ "path to file", ... ] }
|
||||
if (messageText.startsWith("{")) {
|
||||
JsonSendableMessage result = new ObjectMapper().readValue(messageText, JsonSendableMessage.class);
|
||||
messageText = result.getMessage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue