mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
Refactor AttachmentCommand to GetAttachmentCommand
This commit is contained in:
parent
c66e78b0ad
commit
14c339a04c
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ public class Commands {
|
|||
|
||||
static {
|
||||
addCommand(new AddDeviceCommand());
|
||||
addCommand(new AttachmentCommand());
|
||||
addCommand(new GetAttachmentCommand());
|
||||
addCommand(new BlockCommand());
|
||||
addCommand(new DaemonCommand());
|
||||
addCommand(new DeleteLocalAccountDataCommand());
|
||||
|
|
|
@ -15,11 +15,11 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.util.Base64;
|
||||
|
||||
public class AttachmentCommand implements JsonRpcLocalCommand {
|
||||
public class GetAttachmentCommand implements JsonRpcLocalCommand {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "attachment";
|
||||
return "getAttachment";
|
||||
}
|
||||
|
||||
@Override
|
Loading…
Add table
Add a link
Reference in a new issue