mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
Removing linked devices only works on the primary device
This commit is contained in:
parent
b76964f219
commit
22ac3cb50f
4 changed files with 11 additions and 2 deletions
|
@ -1177,6 +1177,8 @@ public class DbusSignalImpl implements Signal, AutoCloseable {
|
|||
try {
|
||||
m.removeLinkedDevices(device.id());
|
||||
updateDevices();
|
||||
} catch (NotPrimaryDeviceException e) {
|
||||
throw new Error.Failure("This command doesn't work on linked devices.");
|
||||
} catch (IOException e) {
|
||||
throw new Error.Failure(e.getMessage());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue