Fix hidden spaces hiding themselves

fixes #745
This commit is contained in:
Nicolas Werner 2021-11-02 00:15:58 +01:00
parent 417cc07172
commit 8beeba8e48
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -851,7 +851,7 @@ FilteredRoomlistModel::filterAcceptsRow(int sourceRow, const QModelIndex &) cons
if (!hiddenSpaces.empty()) {
for (const auto &t : parents)
if (hiddenSpaces.contains(t))
if (t != filterStr && hiddenSpaces.contains(t))
return false;
}