mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Don't activate contacts on incoming streams.
This leaves the contact and the introduction session in inconsistent states.
This commit is contained in:
@@ -134,9 +134,6 @@ class KeyManagerImpl implements KeyManager, Service, EventListener {
|
||||
Transaction txn = db.startTransaction(false);
|
||||
try {
|
||||
ctx = m.getStreamContext(txn, tag);
|
||||
// Activate the contact if not already active
|
||||
if (ctx != null && !activeContacts.containsKey(ctx.getContactId()))
|
||||
db.setContactActive(txn, ctx.getContactId(), true);
|
||||
txn.setComplete();
|
||||
} finally {
|
||||
db.endTransaction(txn);
|
||||
|
||||
Reference in New Issue
Block a user