From 98bf43608e1187b164481d83501226d897e77d57 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 1 May 2018 13:58:29 +0200 Subject: Add command to get join key, fix crash when joining channel --- include/Channel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Channel.hpp') diff --git a/include/Channel.hpp b/include/Channel.hpp index be6e7c7..535cce5 100644 --- a/include/Channel.hpp +++ b/include/Channel.hpp @@ -31,7 +31,7 @@ namespace dchat const std::string& getName() const; const std::vector getUsers() const; User* getUserByPublicKey(const odhtdb::Signature::PublicKey &publicKey); - std::shared_ptr getId(); + const odhtdb::DatabaseNode& getNodeInfo() const; // If timestamp is 0, then timestamp is not used void addLocalMessage(const std::string &msg, User *owner, u64 timestampSeconds = 0); -- cgit v1.2.3