summaryrefslogtreecommitdiff
path: root/src/windows/mainwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/mainwindow.hpp')
-rw-r--r--src/windows/mainwindow.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp
index 7afe782..5e48f8a 100644
--- a/src/windows/mainwindow.hpp
+++ b/src/windows/mainwindow.hpp
@@ -19,7 +19,7 @@ public:
void UpdateChatMessageDeleted(Snowflake id, Snowflake channel_id);
void UpdateChatMessageUpdated(Snowflake id, Snowflake channel_id);
void UpdateChatPrependHistory(const std::vector<Message> &msgs);
- void InsertChatInput(std::string text);
+ void InsertChatInput(const std::string &text);
Snowflake GetChatOldestListedMessage();
void UpdateChatReactionAdd(Snowflake id, const Glib::ustring &param);
void UpdateChatReactionRemove(Snowflake id, const Glib::ustring &param);