mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add CommandException to abstract cli return codes for errors
This commit is contained in:
parent
c6395b9f35
commit
221d937eec
47 changed files with 538 additions and 572 deletions
|
@ -630,7 +630,7 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
writer.println("- {}: {} (length: {})", formatContact(address), mention.getStart(), mention.getLength());
|
||||
}
|
||||
|
||||
private void printAttachment(PlainTextWriter writer, SignalServiceAttachment attachment) throws IOException {
|
||||
private void printAttachment(PlainTextWriter writer, SignalServiceAttachment attachment) {
|
||||
writer.println("Content-Type: {}", attachment.getContentType());
|
||||
writer.println("Type: {}", attachment.isPointer() ? "Pointer" : attachment.isStream() ? "Stream" : "<unknown>");
|
||||
if (attachment.isPointer()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue