mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-14 03:14:21 +01:00
Refactor dbus linked devices interface
Export a separate dbus object for each device
This commit is contained in:
@@ -349,7 +349,7 @@ public class App {
|
||||
((ExtendedDbusCommand) command).handleCommand(ns, ts, dBusConn, outputWriter);
|
||||
} else if (command instanceof LocalCommand) {
|
||||
try {
|
||||
((LocalCommand) command).handleCommand(ns, new DbusManagerImpl(ts), outputWriter);
|
||||
((LocalCommand) command).handleCommand(ns, new DbusManagerImpl(ts, dBusConn), outputWriter);
|
||||
} catch (UnsupportedOperationException e) {
|
||||
throw new UserErrorException("Command is not yet implemented via dbus", e);
|
||||
} catch (DBusExecutionException e) {
|
||||
|
||||
Reference in New Issue
Block a user