bug fixes, parents, root node, topic, etc

This commit is contained in:
2024-05-31 15:35:07 +02:00
parent 0379c8a5ab
commit 0be741947c
5 changed files with 98 additions and 19 deletions

View File

@@ -41,6 +41,7 @@ class IRCClientContactModel : public IRCClientEventI, public ContactModel3I {
private:
// just the hash algo
std::vector<uint8_t> getHash(std::string_view value);
std::vector<uint8_t> getHash(const std::vector<uint8_t>& value);
public:
// the actually ID is a chain containing the server+channel or server+name
@@ -57,6 +58,7 @@ class IRCClientContactModel : public IRCClientEventI, public ContactModel3I {
bool onEvent(const IRCClient::Events::Numeric& e) override;
bool onEvent(const IRCClient::Events::Join& e) override;
bool onEvent(const IRCClient::Events::Part& e) override;
bool onEvent(const IRCClient::Events::Topic& e) override;
bool onEvent(const IRCClient::Events::Quit& e) override;
bool onEvent(const IRCClient::Events::CTCP_Req&) override;
};