diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-02 00:15:58 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-02 00:15:58 +0100 |
commit | 8beeba8e48580f553b86cbaf70c274305f4a9062 (patch) | |
tree | 2032d1164a7b05cc02663455af4f3eb5f771038d | |
parent | Fix crash on logout (diff) | |
download | nheko-8beeba8e48580f553b86cbaf70c274305f4a9062.tar.xz |
Fix hidden spaces hiding themselves
fixes #745
-rw-r--r-- | src/timeline/RoomlistModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp index 2d60dcb3..c5bbd83c 100644 --- a/src/timeline/RoomlistModel.cpp +++ b/src/timeline/RoomlistModel.cpp @@ -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; } |