Refactor and clean up spaces

This commit is contained in:
Tobias Fella
2022-09-23 00:49:33 +02:00
parent 932c3e10fe
commit eee96bc462
6 changed files with 31 additions and 31 deletions

View File

@@ -66,7 +66,7 @@ void SpaceHierarchyCache::populateSpaceHierarchy(const QString &spaceId)
#endif
}
QVector<QString> SpaceHierarchyCache::getRoomListForSpace(const QString &spaceId, bool updateCache)
QVector<QString> &SpaceHierarchyCache::getRoomListForSpace(const QString &spaceId, bool updateCache)
{
if (updateCache) {
populateSpaceHierarchy(spaceId);