Merge branch '1224-show-explanation-when-contact-exchange-fails' into 'master'

Show an error fragment when contact exchange fails

See merge request briar/briar!890
This commit is contained in:
akwizgran
2018-08-20 19:40:36 +00:00
12 changed files with 336 additions and 39 deletions

View File

@@ -102,6 +102,7 @@ class KeyAgreementTaskImpl extends Thread implements KeyAgreementTask,
KeyAgreementTransport transport =
connector.connect(remotePayload, alice);
if (transport == null) {
LOG.warning("Key agreement failed. Transport was null.");
// Notify caller that the connection failed
eventBus.broadcast(new KeyAgreementFailedEvent());
return;