Keep unrestricted unidentified access if it was set before
This commit is contained in:
parent
bb9d44811c
commit
2d60f98e93
@ -1302,8 +1302,8 @@ public class SignalAccount implements Closeable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isUnrestrictedUnidentifiedAccess() {
|
public boolean isUnrestrictedUnidentifiedAccess() {
|
||||||
// TODO make configurable
|
final var profile = getProfileStore().getProfile(getSelfRecipientId());
|
||||||
return false;
|
return profile != null && profile.getUnidentifiedAccessMode() == Profile.UnidentifiedAccessMode.UNRESTRICTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isDiscoverableByPhoneNumber() {
|
public boolean isDiscoverableByPhoneNumber() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user