mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-22 02:57:18 +00:00
SAM single and master sessions
This commit is contained in:
1 parent
bd33ac202f
commit
4018cf9d76
4 files changed
+64
-43
No files matched your search
@@ -714,8 +714,8 @@ namespace client
|
||||
for (auto& it: sam->GetSessions ())
|
||||
{
|
||||
boost::property_tree::ptree sam_session, sam_session_sockets;
|
||||
auto& name = it.second->localDestination->GetNickname ();
|
||||
auto& ident = it.second->localDestination->GetIdentHash();
|
||||
auto& name = it.second->GetLocalDestination ()->GetNickname ();
|
||||
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
|
||||
sam_session.put("name", name);
|
||||
sam_session.put("address", i2p::client::context.GetAddressBook ().ToAddress(ident));
|
||||
|
||||
|
||||
Reference in new issue
Block a user