From 84140dc704156cb91fc51fa01654e6fe4b1228e5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 16 Oct 2018 02:43:11 +0200 Subject: Update opendht dependency, probably broken --- include/Channel.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/Channel.hpp') 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 #include #include +#include #include -namespace odhtdb -{ - class Database; -} namespace dchat { @@ -101,8 +98,8 @@ namespace dchat std::vector users; std::unordered_map discordUserById; odhtdb::Signature::MapPublicKey publicKeyOnlineUsersMap; - dht::InfoHash pingKey; - std::future pingListener; + odhtdb::InfoHash pingKey; + sibs::ListenHandle pingListener; sf::Clock pingTimer; std::vector bridgeServices; -- cgit v1.2.3