Add devtools button to account menu

This commit is contained in:
Tobias Fella
2024-03-02 19:06:08 +01:00
parent 10e3ab1f78
commit 1249304907
4 changed files with 22 additions and 1 deletions

View File

@@ -39,6 +39,9 @@ void StateModel::loadState()
{
beginResetModel();
m_stateEvents.clear();
if (!m_room) {
return;
}
const auto keys = m_room->currentState().events().keys();
for (const auto &[type, stateKey] : keys) {
if (!m_stateEvents.contains(type)) {