Don't cache default state when adding pending contact.

This can overwrite the initial state broadcast by the
rendezvous poller.
This commit is contained in:
akwizgran
2019-06-17 10:22:08 +01:00
parent b0e97d787f
commit 4a67cf3ce7
2 changed files with 27 additions and 4 deletions

View File

@@ -147,7 +147,6 @@ class ContactManagerImpl implements ContactManager, EventListener {
} finally {
db.endTransaction(txn);
}
states.put(p.getId(), WAITING_FOR_CONNECTION);
return p;
}