fix new channels showing up when they shouldnt

This commit is contained in:
ouwou 2021-01-23 23:21:45 -05:00
parent 71bd71ccaf
commit cfa6607fc8

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);