aboutsummaryrefslogtreecommitdiff
path: root/src/ChatMessage.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-11-01 07:17:49 +0100
committerdec05eba <dec05eba@protonmail.com>2018-11-01 07:17:52 +0100
commit0469c43a45310b6b92eb704773e3a34beb57f288 (patch)
tree3d79b563fdc99a18f29bf65a8b293fecca8b7a4a /src/ChatMessage.cpp
parenta535703add6bf29878845cb270997514489cfc16 (diff)
Move room code to dchat_core, add ability to send messages
Diffstat (limited to 'src/ChatMessage.cpp')
-rw-r--r--src/ChatMessage.cpp5
1 files changed, 2 insertions, 3 deletions
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);