From 10e547c4947849647463c6f302edbbefc46aac80 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 6 Sep 2020 02:25:19 -0400 Subject: member list gets a basic right click menu --- abaddon.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'abaddon.cpp') diff --git a/abaddon.cpp b/abaddon.cpp index 5fec1b8..b389b20 100644 --- a/abaddon.cpp +++ b/abaddon.cpp @@ -245,6 +245,10 @@ void Abaddon::ActionChatEditMessage(Snowflake channel_id, Snowflake id) { } } +void Abaddon::ActionInsertMention(Snowflake id) { + m_main_window->InsertChatInput("<@" + std::to_string(id) + ">"); +} + void Abaddon::ActionReloadCSS() { try { Gtk::StyleContext::remove_provider_for_screen(Gdk::Screen::get_default(), m_css_provider); -- cgit v1.2.3