aboutsummaryrefslogtreecommitdiff
path: root/include/ChatMessage.hpp
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 /include/ChatMessage.hpp
parenta535703add6bf29878845cb270997514489cfc16 (diff)
Move room code to dchat_core, add ability to send messages
Diffstat (limited to 'include/ChatMessage.hpp')
-rw-r--r--include/ChatMessage.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ChatMessage.hpp b/include/ChatMessage.hpp
index c13db9d..c1ef459 100644
--- a/include/ChatMessage.hpp
+++ b/include/ChatMessage.hpp
@@ -10,13 +10,12 @@ namespace dchat
class ChatMessage : public Gtk::Grid
{
public:
- ChatMessage(const Glib::ustring &username, const Glib::ustring &text, uint32_t timestampSeconds, const User *user);
+ ChatMessage(const Glib::ustring &username, const Glib::ustring &text, uint32_t timestampSeconds);
Gtk::Grid avatar;
Gtk::Label username;
Gtk::Label text;
uint32_t timestampSeconds;
- const User *user;
private:
bool updateContent(const Cairo::RefPtr<Cairo::Context> &cairo);
};