summaryrefslogtreecommitdiff
path: root/discord/discord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/discord.cpp')
-rw-r--r--discord/discord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/discord.cpp b/discord/discord.cpp
index 4af07d5..baa0b28 100644
--- a/discord/discord.cpp
+++ b/discord/discord.cpp
@@ -1119,7 +1119,7 @@ void DiscordClient::HandleGatewayMessageCreate(const GatewayMessage &msg) {
StoreMessageData(data);
AddMessageToChannel(data.ID, data.ChannelID);
AddUserToGuild(data.Author.ID, *data.GuildID);
- m_signal_message_create.emit(data.ID);
+ m_signal_message_create.emit(data);
}
void DiscordClient::HandleGatewayMessageDelete(const GatewayMessage &msg) {