mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved AddressBook to ClientContext
This commit is contained in:
parent
a96d70a94c
commit
af997473b2
8 changed files with 20 additions and 18 deletions
2
SAM.cpp
2
SAM.cpp
|
@ -401,7 +401,7 @@ namespace client
|
|||
i2p::data::IdentHash ident;
|
||||
if (name == "ME")
|
||||
SendNamingLookupReply (nullptr);
|
||||
else if (m_Session && i2p::data::netdb.GetAddressBook ().GetIdentHash (name, ident))
|
||||
else if (m_Session && context.GetAddressBook ().GetIdentHash (name, ident))
|
||||
{
|
||||
auto leaseSet = m_Session->localDestination->FindLeaseSet (ident);
|
||||
if (leaseSet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue