From efae510fdaff7354f18be0760bc5a18151a291e9 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 18 Jun 2022 15:10:03 +0200 Subject: [PATCH] Don't use PublicRoomsChunk::aliases Doesn't seem to be part of the spec and currently isn't in libQuotient; if it comes back, we can revert this. Until then, this fixes the build --- src/publicroomlistmodel.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/publicroomlistmodel.cpp b/src/publicroomlistmodel.cpp index 8c8a2e1de..9e8c94918 100644 --- a/src/publicroomlistmodel.cpp +++ b/src/publicroomlistmodel.cpp @@ -157,10 +157,6 @@ QVariant PublicRoomListModel::data(const QModelIndex &index, int role) const return displayName; } - if (!room.aliases.isEmpty()) { - displayName = room.aliases.front(); - } - if (!displayName.isEmpty()) { return displayName; }