diff --git a/spectrum/src/frontends/slack/SlackSession.h b/spectrum/src/frontends/slack/SlackSession.h index 46c2c7710fbe3dfdfa31e35116d4c3e483a0c9ab..351eb5e12a5ef654f30cf811aa5aaf8b6862a51f 100644 --- a/spectrum/src/frontends/slack/SlackSession.h +++ b/spectrum/src/frontends/slack/SlackSession.h @@ -54,6 +54,10 @@ class SlackSession { void handleMessageReceived(const std::string &channel, const std::string &user, const std::string &message, bool quiet); void handleImOpen(HTTPRequest *req, bool ok, rapidjson::Document &resp, const std::string &data); + void handleJoinMessage(const std::string &message, std::vector &args, bool quiet = false); + void handleLeaveMessage(const std::string &message, std::vector &args, bool quiet = false); + void handleRegisterMessage(const std::string &message, std::vector &args, bool quiet = false); + private: Component *m_component; StorageBackend *m_storageBackend; @@ -63,6 +67,7 @@ class SlackSession { std::string m_ownerChannel; std::map m_jid2channel; std::map m_channel2jid; + std::string m_slackChannel; }; }