aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-01 13:58:29 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-01 13:58:33 +0200
commit98bf43608e1187b164481d83501226d897e77d57 (patch)
tree507532093b5b3cf96dc27f43ef5f7e909f934402 /include
parent431c1dcded16649c10331b9dc4e57f20067cea0b (diff)
Add command to get join key, fix crash when joining channel
Diffstat (limited to 'include')
-rw-r--r--include/Channel.hpp2
1 files changed, 1 insertions, 1 deletions
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<User*> getUsers() const;
User* getUserByPublicKey(const odhtdb::Signature::PublicKey &publicKey);
- std::shared_ptr<odhtdb::Hash> 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);