diff options
Diffstat (limited to 'src/ChatMessage.cpp')
-rw-r--r-- | src/ChatMessage.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ChatMessage.cpp b/src/ChatMessage.cpp index 048bfca..db5fad2 100644 --- a/src/ChatMessage.cpp +++ b/src/ChatMessage.cpp @@ -2,9 +2,11 @@ namespace dchat { - ChatMessage::ChatMessage(const Glib::ustring &_username, const Glib::ustring &_text) : + ChatMessage::ChatMessage(const Glib::ustring &_username, const Glib::ustring &_text, uint32_t _timestampSeconds, const User *_user) : username(_username), - text(_text) + text(_text), + timestampSeconds(_timestampSeconds), + user(_user) { username.set_selectable(true); username.set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_START); |