diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java b/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java index 7b5411e6..33b9e80c 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java @@ -1302,8 +1302,8 @@ public class SignalAccount implements Closeable { } public boolean isUnrestrictedUnidentifiedAccess() { - // TODO make configurable - return false; + final var profile = getProfileStore().getProfile(getSelfRecipientId()); + return profile != null && profile.getUnidentifiedAccessMode() == Profile.UnidentifiedAccessMode.UNRESTRICTED; } public boolean isDiscoverableByPhoneNumber() {