mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 20:40:38 +00:00
modify DBus SignalControl
remove listAccounts() from methods available to DBus clients, because it returns a list of "DBusPath" objects, which DBus itself cannot handle add getObjectPath, because it is already implemented in DbusSignalControlImpl.java
This commit is contained in:
parent
2e82a12bbf
commit
f70507ca24
2 changed files with 2 additions and 3 deletions
|
@ -26,9 +26,9 @@ public interface SignalControl extends DBusInterface {
|
|||
|
||||
String link(String newDeviceName) throws Error.Failure;
|
||||
|
||||
public String version();
|
||||
String version();
|
||||
|
||||
List<DBusPath> listAccounts();
|
||||
String getObjectPath();
|
||||
|
||||
interface Error {
|
||||
|
||||
|
|
|
@ -150,7 +150,6 @@ public class DbusSignalControlImpl implements org.asamk.SignalControl {
|
|||
return BaseConfig.PROJECT_VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DBusPath> listAccounts() {
|
||||
synchronized (receiveThreads) {
|
||||
return receiveThreads.stream()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue