summaryrefslogtreecommitdiff
path: root/components/chatinputindicator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/chatinputindicator.hpp')
-rw-r--r--components/chatinputindicator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/chatinputindicator.hpp b/components/chatinputindicator.hpp
index 46ca5f1..3b007b3 100644
--- a/components/chatinputindicator.hpp
+++ b/components/chatinputindicator.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <gtkmm.h>
#include <unordered_map>
-#include "../discord/snowflake.hpp"
+#include "../discord/message.hpp"
#include "../discord/user.hpp"
class ChatInputIndicator : public Gtk::Box {
@@ -14,7 +14,7 @@ public:
private:
void AddUser(Snowflake channel_id, const UserData &user, int timeout);
void OnUserTypingStart(Snowflake user_id, Snowflake channel_id);
- void OnMessageCreate(Snowflake message_id);
+ void OnMessageCreate(const Message &message);
void SetTypingString(const Glib::ustring &str);
void ComputeTypingString();