aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-16 02:43:11 +0200
committerdec05eba <dec05eba@protonmail.com>2018-10-16 02:43:15 +0200
commit84140dc704156cb91fc51fa01654e6fe4b1228e5 (patch)
treea088c9be084731771125e45f92e4d23a4ed9d3c4 /include
parent1d46ddded3ded4dd44e3d7ede544ea215b3e917e (diff)
Update opendht dependency, probably broken
Diffstat (limited to 'include')
-rw-r--r--include/Channel.hpp9
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;