From 270730d9b36c8fc3a221da7e565632c1432d41c6 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 5 Jun 2022 21:41:57 -0400 Subject: start attachments (image paste and upload) --- src/components/chatwindow.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/chatwindow.hpp') diff --git a/src/components/chatwindow.hpp b/src/components/chatwindow.hpp index 9b27ff1..ab0bee1 100644 --- a/src/components/chatwindow.hpp +++ b/src/components/chatwindow.hpp @@ -55,7 +55,7 @@ protected: Snowflake m_active_channel; - bool OnInputSubmit(const Glib::ustring &text); + bool OnInputSubmit(const Glib::ustring &text, const std::vector &attachment_paths); bool OnKeyPressEvent(GdkEventKey *e); void OnScrollEdgeOvershot(Gtk::PositionType pos); @@ -84,7 +84,7 @@ protected: public: using type_signal_action_message_edit = sigc::signal; - using type_signal_action_chat_submit = sigc::signal; + using type_signal_action_chat_submit = sigc::signal, Snowflake, Snowflake>; using type_signal_action_chat_load_history = sigc::signal; using type_signal_action_channel_click = sigc::signal; using type_signal_action_insert_mention = sigc::signal; -- cgit v1.2.3