mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Detect username QR codes in our camera-first capture flow.
This commit is contained in:
committed by
Alex Hart
parent
3f89acf9bd
commit
6104ef62df
@@ -311,6 +311,10 @@ object UsernameRepository {
|
||||
return BASE_URL + base64
|
||||
}
|
||||
|
||||
fun isValidLink(url: String): Boolean {
|
||||
return parseLink(url) != null
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun onUsernameConsistencyValidated() {
|
||||
SignalStore.account().usernameSyncState = AccountValues.UsernameSyncState.IN_SYNC
|
||||
|
||||
Reference in New Issue
Block a user