mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Add MultiAccountManager
This commit is contained in:
parent
6261934dda
commit
4a1af0786c
18 changed files with 221 additions and 131 deletions
|
@ -4,6 +4,7 @@ import org.asamk.signal.BaseConfig;
|
|||
import org.asamk.signal.JsonWriter;
|
||||
import org.asamk.signal.commands.exceptions.CommandException;
|
||||
import org.asamk.signal.manager.Manager;
|
||||
import org.asamk.signal.manager.MultiAccountManager;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -23,7 +24,7 @@ public class VersionCommand implements JsonRpcSingleCommand<Void>, JsonRpcMultiC
|
|||
|
||||
@Override
|
||||
public void handleCommand(
|
||||
final Void request, final SignalCreator c, final JsonWriter jsonWriter
|
||||
final Void request, final MultiAccountManager c, final JsonWriter jsonWriter
|
||||
) throws CommandException {
|
||||
outputVersion(jsonWriter);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue