try to properly clear chat list

im sure this will break something somehow
This commit is contained in:
ouwou
2022-07-08 02:27:09 -04:00
parent 41776fbd02
commit 849ebf17f1

View File

@@ -34,6 +34,9 @@ void ChatList::Clear() {
delete *it;
it++;
}
m_id_to_widget.clear();
m_num_messages = 0;
m_num_rows = 0;
}
void ChatList::SetActiveChannel(Snowflake id) {