mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-20 07:34:20 +01:00
Add CommandException to abstract cli return codes for errors
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user