diff --git a/src/rooms/RoomListPage.qml b/src/rooms/RoomListPage.qml index bcc64fc25..6f15c860c 100644 --- a/src/rooms/RoomListPage.qml +++ b/src/rooms/RoomListPage.qml @@ -183,6 +183,17 @@ Kirigami.Page { } } } + + // This is a bit silly but it guarantees that the room item heights + // update promptly on change. + Connections { + target: NeoChatConfig + + function onCompactRoomListChanged() { + treeView.collapseRecursively() + treeView.expandRecursively() + } + } } } }