mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
parent
fd8ba66509
commit
6dabf4550b
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ public class DbusManagerImpl implements Manager {
|
|||
return signal.listDevices().stream().map(d -> {
|
||||
final var device = getRemoteObject(d.getObjectPath(),
|
||||
Signal.Device.class).GetAll("org.asamk.Signal.Device");
|
||||
return new Device(((Long) device.get("Id").getValue()).intValue(),
|
||||
return new Device((Integer) device.get("Id").getValue(),
|
||||
(String) device.get("Name").getValue(),
|
||||
(long) device.get("Created").getValue(),
|
||||
(long) device.get("LastSeen").getValue(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue