From 0469c43a45310b6b92eb704773e3a34beb57f288 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 1 Nov 2018 07:17:49 +0100 Subject: Move room code to dchat_core, add ability to send messages --- src/ChatMessage.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ChatMessage.cpp') diff --git a/src/ChatMessage.cpp b/src/ChatMessage.cpp index 93b52e9..d48a6a9 100644 --- a/src/ChatMessage.cpp +++ b/src/ChatMessage.cpp @@ -4,11 +4,10 @@ namespace dchat { - ChatMessage::ChatMessage(const Glib::ustring &_username, const Glib::ustring &_text, uint32_t _timestampSeconds, const User *_user) : + ChatMessage::ChatMessage(const Glib::ustring &_username, const Glib::ustring &_text, uint32_t _timestampSeconds) : username(_username), text(_text), - timestampSeconds(_timestampSeconds), - user(_user) + timestampSeconds(_timestampSeconds) { avatar.set_halign(Gtk::ALIGN_START); avatar.set_valign(Gtk::ALIGN_START); -- cgit v1.2.3