fix new channels showing up when they shouldnt

This commit is contained in:
ouwou committed 2021-01-23 23:21:45 -05:00
1 parent 71bd71ccaf
commit cfa6607fc8
1 file changed
+1 -1
+1 -1
View File
@@ -477,7 +477,7 @@ void ChannelList::UpdateCreateChannel(Snowflake id) {
} else
return;
row->IsUserCollapsed = false;
if (guild_row->is_visible())
if (!guild_row->IsUserCollapsed)
row->show();
row->Parent = guild_row;
guild_row->Children.insert(row);