mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Remote Contact Adding UI: Address review comments
This commit is contained in:
@@ -138,11 +138,6 @@ class ContactManagerImpl implements ContactManager {
|
||||
return new String(c);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValidRemoteContactLink(String link) {
|
||||
return LINK_REGEX.matcher(link).matches();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addRemoteContactRequest(String link, String alias) {
|
||||
// TODO replace with real implementation
|
||||
@@ -199,7 +194,7 @@ class ContactManagerImpl implements ContactManager {
|
||||
pendingContacts.remove(pendingContact);
|
||||
Event e;
|
||||
try {
|
||||
if (true || new Random().nextBoolean()) {
|
||||
if (new Random().nextBoolean()) {
|
||||
getLogger("TMP").warning("FAILED");
|
||||
e = new PendingContactStateChangedEvent(id, FAILED);
|
||||
PendingContact updated = new PendingContact(id,
|
||||
|
||||
Reference in New Issue
Block a user