X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/9741c93ce969a961cb90571b2d7046084a293db3..76fe6ad7999dee19ddbe80f518c62c4685ef95b4:/src/main/java/org/asamk/signal/dbus/DbusCommandHandler.java diff --git a/src/main/java/org/asamk/signal/dbus/DbusCommandHandler.java b/src/main/java/org/asamk/signal/dbus/DbusCommandHandler.java index f8a65e7e..4f320ad8 100644 --- a/src/main/java/org/asamk/signal/dbus/DbusCommandHandler.java +++ b/src/main/java/org/asamk/signal/dbus/DbusCommandHandler.java @@ -94,7 +94,7 @@ public class DbusCommandHandler { "Multiple users found, you need to specify an account (phone number) with -a"); } - return accounts.get(0).getPath(); + return accounts.getFirst().getPath(); } catch (UnknownMethod e) { // dbus daemon not running in multi-account mode return null;