diff options
Diffstat (limited to 'components/chatwindow.cpp')
-rw-r--r-- | components/chatwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp index 28d3fce..ea8da69 100644 --- a/components/chatwindow.cpp +++ b/components/chatwindow.cpp @@ -178,7 +178,7 @@ void ChatWindow::ProcessNewMessage(Snowflake id, bool prepend) { if (should_attach) { header = last_row; } else { - const auto guild_id = client.GetChannel(m_active_channel)->GuildID; + const auto guild_id = *client.GetChannel(m_active_channel)->GuildID; const auto user_id = data->Author.ID; const auto user = client.GetUser(user_id); if (!user.has_value()) return; |