From c90c777daa1d3bc4029380529033f3c51383bbb7 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 30 Aug 2020 02:00:56 -0400 Subject: add basic menu to chat messages --- components/chatwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/chatwindow.cpp') diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp index 8b477e0..647d5b2 100644 --- a/components/chatwindow.cpp +++ b/components/chatwindow.cpp @@ -115,6 +115,9 @@ void ChatWindow::ProcessMessage(const MessageData *data, bool prepend) { // actual content if (type == ChatDisplayType::Text) { auto *text = Gtk::manage(new ChatMessageTextItem(data)); + text->ID = data->ID; + text->ChannelID = m_active_channel; + text->SetAbaddon(m_abaddon); container->AddNewContent(text, prepend); m_id_to_widget[data->ID] = text; } -- cgit v1.2.3