handle CHANNEL_CREATE for dm's

This commit is contained in:
ouwou
2020-11-03 17:17:56 -05:00
parent e562b75f95
commit 1a197b1494
2 changed files with 21 additions and 5 deletions
+3
View File
@@ -90,6 +90,7 @@ public:
void UpdateRemoveGuild(Snowflake id);
void UpdateRemoveChannel(Snowflake id);
void UpdateChannel(Snowflake id);
void UpdateCreateDMChannel(Snowflake id);
void UpdateCreateChannel(Snowflake id);
void UpdateGuild(Snowflake id);
void Clear();
@@ -100,6 +101,8 @@ protected:
Gtk::ListBox *m_list;
Gtk::ScrolledWindow *m_main;
ChannelListRowDMHeader *m_dm_header_row = nullptr;
void CollapseRow(ChannelListRow *row);
void ExpandRow(ChannelListRow *row);
void DeleteRow(ChannelListRow *row);