diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Channel.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/Channel.hpp b/include/Channel.hpp index 663b163..34752da 100644 --- a/include/Channel.hpp +++ b/include/Channel.hpp @@ -15,12 +15,9 @@ #include <odhtdb/Group.hpp> #include <odhtdb/Hash.hpp> #include <odhtdb/DhtKey.hpp> +#include <odhtdb/Database.hpp> #include <future> -namespace odhtdb -{ - class Database; -} namespace dchat { @@ -101,8 +98,8 @@ namespace dchat std::vector<User*> users; std::unordered_map<u64, OnlineDiscordUser*> discordUserById; odhtdb::Signature::MapPublicKey<OnlineUser*> publicKeyOnlineUsersMap; - dht::InfoHash pingKey; - std::future<size_t> pingListener; + odhtdb::InfoHash pingKey; + sibs::ListenHandle pingListener; sf::Clock pingTimer; std::vector<BridgeService*> bridgeServices; |