mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
check if addressbook is enabled
This commit is contained in:
parent
78ec5b2c6e
commit
3d0a1afd64
3 changed files with 15 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2022, The PurpleI2P Project
|
||||
* Copyright (c) 2013-2024, The PurpleI2P Project
|
||||
*
|
||||
* This file is part of Purple i2pd project and licensed under BSD3
|
||||
*
|
||||
|
@ -99,7 +99,8 @@ namespace client
|
|||
std::string ToAddress(std::shared_ptr<const i2p::data::IdentityEx> ident) { return ToAddress(ident->GetIdentHash ()); }
|
||||
|
||||
bool GetEtag (const i2p::data::IdentHash& subscription, std::string& etag, std::string& lastModified);
|
||||
|
||||
bool IsEnabled () const { return m_IsEnabled; }
|
||||
|
||||
private:
|
||||
|
||||
void StartSubscriptions ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue