mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Implement removing linked devices
Only allowed from the master device
This commit is contained in:
parent
17ff7531d4
commit
08a217108a
2 changed files with 27 additions and 0 deletions
|
@ -264,6 +264,10 @@ class Manager implements Signal {
|
|||
return accountManager.getDevices();
|
||||
}
|
||||
|
||||
public void removeLinkedDevices(int deviceId) throws IOException {
|
||||
accountManager.removeDevice(deviceId);
|
||||
}
|
||||
|
||||
public static Map<String, String> getQueryMap(String query) {
|
||||
String[] params = query.split("&");
|
||||
Map<String, String> map = new HashMap<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue