mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
preliminary speaker checks
This commit is contained in:
1 parent
019ae0428b
commit
533157ece2
11 files changed
+51
-12
No files matched your search
@@ -6,7 +6,7 @@
|
||||
#include <gtkmm/cellrendererpixbuf.h>
|
||||
#include <gtkmm/cellrenderertext.h>
|
||||
#include "discord/snowflake.hpp"
|
||||
#include "discord/voicestateflags.hpp"
|
||||
#include "discord/voicestate.hpp"
|
||||
#include "misc/bitwise.hpp"
|
||||
|
||||
enum class RenderType : uint8_t {
|
||||
|
||||
@@ -1061,7 +1061,7 @@ Gtk::TreeModel::iterator ChannelListTree::CreateVoiceParticipantRow(const UserDa
|
||||
|
||||
const auto voice_state = Abaddon::Get().GetDiscordClient().GetVoiceState(user.ID);
|
||||
if (voice_state.has_value()) {
|
||||
row[m_columns.m_voice_flags] = voice_state->second;
|
||||
row[m_columns.m_voice_flags] = voice_state->second.Flags;
|
||||
}
|
||||
|
||||
auto &img = Abaddon::Get().GetImageManager();
|
||||
|
||||
Reference in new issue
Block a user