wtclient: load all active towers into memory

Load an active tower into memory regardless of whether or not it has any
sessions.
This commit is contained in:
Elle Mouton 2024-02-09 12:48:11 +02:00
parent 5d16491c13
commit a9648cbdd1
No known key found for this signature in database
GPG key ID: D7D916376026F177

View file

@ -324,9 +324,9 @@ func getTowerAndSessionCandidates(db DB, keyRing ECDHKeyRing,
// Add the session to the set of candidate sessions. // Add the session to the set of candidate sessions.
candidateSessions[s.ID] = cs candidateSessions[s.ID] = cs
perActiveTower(tower)
} }
perActiveTower(tower)
} }
return candidateSessions, nil return candidateSessions, nil