Minor fix to StateModel

This commit is contained in:
Tobias Fella
2025-08-25 15:21:51 +02:00
parent bde27dc826
commit 8706ee950e

View File

@@ -46,6 +46,7 @@ void StateModel::loadState()
beginResetModel();
m_stateEvents.clear();
if (!m_room) {
endResetModel();
return;
}
const auto keys = m_room->currentState().events().keys();