diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-16 10:24:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-16 10:25:06 +0200 |
commit | e6331c04af99d7deeb9b15be02dd30665c3c41ce (patch) | |
tree | 7d8c1dadcdefe4579fbcc750a352f3b80879b347 /include/Channel.hpp | |
parent | 777d8053540cf94f5b2156c8e2b242efb4d07007 (diff) |
Rewrite code to work with new backend
Redesigned join channel system, read README.md for more information
Diffstat (limited to 'include/Channel.hpp')
-rw-r--r-- | include/Channel.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Channel.hpp b/include/Channel.hpp index 93f3725..6e944c3 100644 --- a/include/Channel.hpp +++ b/include/Channel.hpp @@ -51,8 +51,8 @@ namespace dchat void deleteMessage(const odhtdb::Hash &id, const odhtdb::Signature::PublicKey &requestedByUser); void addUserLocally(User *user); - bool addUser(const odhtdb::Signature::PublicKey &userId, const std::string &groupId); - void replaceLocalUser(User *newLocalUser); + bool addUser(const odhtdb::Signature::PublicKey &userId, const odhtdb::DataView &groupId); + void replaceLocalUser(OnlineLocalUser *newOnlineLocalUser); void changeNick(const std::string &newNick); void processEvent(const sf::Event &event); |