diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-14 13:24:02 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-14 13:24:02 -0400 |
commit | c075f16c17d8048446a994a41b0ebf46a0c00bdd (patch) | |
tree | c2b7669c60ebb5015011d175f576c34dcf3e7b24 /src/components | |
parent | 135f631761651ddf949a0cd55cf4d8d6f52f2afa (diff) | |
download | abaddon-portaudio-c075f16c17d8048446a994a41b0ebf46a0c00bdd.tar.gz abaddon-portaudio-c075f16c17d8048446a994a41b0ebf46a0c00bdd.zip |
try to fix build
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/channels.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/channels.cpp b/src/components/channels.cpp index 0da3de9..e45b5c0 100644 --- a/src/components/channels.cpp +++ b/src/components/channels.cpp @@ -763,6 +763,7 @@ Gtk::TreeModel::iterator ChannelList::AddGuild(const GuildData &guild, const Gtk m_tmp_row_map[thread.ID] = CreateThreadRow(row.children(), thread); }; +#ifdef WITH_VOICE auto add_voice_participants = [this, &discord](const ChannelData &channel, const Gtk::TreeNodeChildren &root) { for (auto user_id : discord.GetUsersInVoiceChannel(channel.ID)) { const auto user = discord.GetUser(user_id); @@ -777,6 +778,7 @@ Gtk::TreeModel::iterator ChannelList::AddGuild(const GuildData &guild, const Gtk } } }; +#endif for (const auto &channel : orphan_channels) { auto channel_row = *m_model->append(guild_row.children()); |