aboutsummaryrefslogtreecommitdiff
path: root/src/Message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Message.cpp')
-rw-r--r--src/Message.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Message.cpp b/src/Message.cpp
index 77e3cfa..a408aee 100644
--- a/src/Message.cpp
+++ b/src/Message.cpp
@@ -10,7 +10,8 @@ namespace dchat
Message::Message(User *_user, const std::string &_text, u64 _timestampSeconds) :
user(_user),
text(sf::String::fromUtf8(_text.begin(), _text.end()), ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 18 * Settings::getScaling(), 0.0f, false),
- timestampSeconds(_timestampSeconds)
+ timestampSeconds(_timestampSeconds),
+ type(Type::REGULAR)
{
text.setFillColor(ColorScheme::getTextRegularColor());
}