#include "messages/message.hpp" #include "channel.hpp" #include "colorscheme.hpp" #include "emojis.hpp" #include "emotemanager.hpp" #include "fontmanager.hpp" #include "ircmanager.hpp" #include "messages/link.hpp" #include "resources.hpp" #include "settingsmanager.hpp" #include #include #include #include #include #include namespace chatterino { namespace messages { /* Message::Message(const QString &text) : text(text) { this->words.push_back( Word(text, Word::Text, ColorScheme::getInstance().SystemMessageColor, text, QString())); } */ Message::Message(const QString &text, const std::vector &words) : text(text) , words(words) { } bool Message::getCanHighlightTab() const { return this->highlightTab; } const QString &Message::getTimeoutUser() const { return this->timeoutUser; } int Message::getTimeoutCount() const { return this->timeoutCount; } const QString &Message::getUserName() const { return this->userName; } const QString &Message::getDisplayName() const { return this->displayName; } const QString &Message::getContent() const { return this->content; } const std::chrono::time_point &Message::getParseTime() const { return this->parseTime; } std::vector &Message::getWords() { return this->words; } bool Message::isDisabled() const { return this->disabled; } const QString &Message::getId() const { return this->id; } } // namespace messages } // namespace chatterino