Add --unrestricted-unidentified-sender to updateAccount command

This commit is contained in:
AsamK 2024-01-13 16:00:55 +01:00
parent 3290a5bf4d
commit 30e8e36635
9 changed files with 38 additions and 10 deletions

View file

@ -121,7 +121,9 @@ public class DbusManagerImpl implements Manager {
}
@Override
public void updateAccountAttributes(final String deviceName) throws IOException {
public void updateAccountAttributes(
final String deviceName, final Boolean unrestrictedUnidentifiedSender
) throws IOException {
if (deviceName != null) {
final var devicePath = signal.getThisDevice();
getRemoteObject(devicePath, Signal.Device.class).Set("org.asamk.Signal.Device", "Name", deviceName);