diff options
Diffstat (limited to 'src/Message.cpp')
-rw-r--r-- | src/Message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Message.cpp b/src/Message.cpp index a408aee..1b42626 100644 --- a/src/Message.cpp +++ b/src/Message.cpp @@ -7,9 +7,9 @@ using namespace std; namespace dchat { - Message::Message(User *_user, const std::string &_text, u64 _timestampSeconds) : + Message::Message(User *_user, const std::string &_text, u64 _timestampSeconds, bool plainText) : user(_user), - text(sf::String::fromUtf8(_text.begin(), _text.end()), ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 18 * Settings::getScaling(), 0.0f, false), + text(sf::String::fromUtf8(_text.begin(), _text.end()), ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 18 * Settings::getScaling(), 0.0f, plainText), timestampSeconds(_timestampSeconds), type(Type::REGULAR) { |