Make the id picker refresh when you create an identity.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4029 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-11-10 00:03:39 +00:00
parent ae545e7b2b
commit 5ed9a77d38
5 changed files with 15 additions and 12 deletions

View File

@ -148,7 +148,7 @@ ssb.addEventListener('connections', function on_connections_changed(change, conn
}
}
});
if (Object.keys(connection.active_blob_wants).length < k_blobs_concurrent_target) {
if (g_wants_requests[connection.id] && Object.keys(connection.active_blob_wants).length < k_blobs_concurrent_target) {
requestMoreBlobs(g_wants_requests[connection.id]);
}
}