X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/25258db55d36af977444c5cc8bbf99dd6246aa74..6cd57312a1396543f14b243ff19d2cf0db973588:/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java diff --git a/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java b/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java index a37fa3e3..f684871a 100644 --- a/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java +++ b/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java @@ -124,11 +124,16 @@ public class DbusManagerImpl implements Manager { @Override public void updateAccountAttributes( - final String deviceName, final Boolean unrestrictedUnidentifiedSender + final String deviceName, + final Boolean unrestrictedUnidentifiedSender, + final Boolean discoverableByNumber, + final Boolean numberSharing ) throws IOException { if (deviceName != null) { final var devicePath = signal.getThisDevice(); getRemoteObject(devicePath, Signal.Device.class).Set("org.asamk.Signal.Device", "Name", deviceName); + } else { + throw new UnsupportedOperationException(); } }