mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Download quote attachment thumbnails and slightly improve the quote output
This commit is contained in:
parent
83d5d53d8a
commit
548c313b4c
2 changed files with 20 additions and 3 deletions
|
@ -452,9 +452,9 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
if (quote.getAttachments().size() > 0) {
|
||||
System.out.println(" Attachments: ");
|
||||
for (SignalServiceDataMessage.Quote.QuotedAttachment attachment : quote.getAttachments()) {
|
||||
System.out.println(" Filename: " + attachment.getFileName());
|
||||
System.out.println(" Type: " + attachment.getContentType());
|
||||
System.out.println(" Thumbnail:");
|
||||
System.out.println(" - Filename: " + attachment.getFileName());
|
||||
System.out.println(" Type: " + attachment.getContentType());
|
||||
System.out.println(" Thumbnail:");
|
||||
if (attachment.getThumbnail() != null) {
|
||||
printAttachment(attachment.getThumbnail());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue