add basic menu to chat messages

This commit is contained in:
ouwou
2020-08-30 02:00:56 -04:00
parent facb89012a
commit c90c777daa
5 changed files with 95 additions and 2 deletions

View File

@@ -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;
}