aboutsummaryrefslogtreecommitdiff
path: root/include/ChatMessage.hpp
diff options
context:
space:
mode:
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);
};