aboutsummaryrefslogtreecommitdiff
path: root/src/Channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r--src/Channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp
index b922833..f403984 100644
--- a/src/Channel.cpp
+++ b/src/Channel.cpp
@@ -100,9 +100,9 @@ namespace dchat
return nullptr;
}
- std::shared_ptr<odhtdb::Hash> Channel::getId()
+ const odhtdb::DatabaseNode& Channel::getNodeInfo() const
{
- return databaseNodeInfo.getRequestHash();
+ return databaseNodeInfo;
}
void Channel::addLocalMessage(const std::string &msg, User *owner, u64 timestampSeconds)