Allow full CDS refreshes for numberless accounts.

This commit is contained in:
Greyson Parrelli
2026-09-09 16:37:43 -04:00
committed by Cody Henthorne
parent 5917ee8d6e
commit 141cd31070
@@ -47,7 +47,7 @@ object ContactDiscovery {
@Throws(IOException::class)
@WorkerThread
fun refreshAll(context: Context, notifyOfNewUsers: Boolean) {
if (TextUtils.isEmpty(SignalStore.account.e164)) {
if (TextUtils.isEmpty(SignalStore.account.e164) && !SignalStore.account.isPhoneNumberless) {
Log.w(TAG, "Have not yet set our own local number. Skipping.")
return
}