mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Accept links without briar:// prefix.
This commit is contained in:
@@ -139,8 +139,8 @@ public class ContactLinkInputActivity extends BriarActivity
|
||||
}
|
||||
|
||||
private boolean isBriarLink(CharSequence s) {
|
||||
String regex = "^briar://[A-Z2-7]{64}$";
|
||||
return s.toString().trim().matches(regex);
|
||||
String link = s.toString().trim();
|
||||
return link.matches("^(briar://)?[A-Z2-7]{64}$");
|
||||
}
|
||||
|
||||
private void updateAddButtonState() {
|
||||
|
||||
Reference in New Issue
Block a user