summaryrefslogtreecommitdiff
path: root/abaddon.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-06 02:25:19 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-06 02:25:19 -0400
commit10e547c4947849647463c6f302edbbefc46aac80 (patch)
treec764ab44afb611bb4a1ed21a5f710c3273d598a3 /abaddon.cpp
parentb2ffc4abf29ea552ae1db0794ec78f4fbd70f0e2 (diff)
downloadabaddon-portaudio-10e547c4947849647463c6f302edbbefc46aac80.tar.gz
abaddon-portaudio-10e547c4947849647463c6f302edbbefc46aac80.zip
member list gets a basic right click menu
Diffstat (limited to 'abaddon.cpp')
-rw-r--r--abaddon.cpp4
1 files changed, 4 insertions, 0 deletions
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);