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
This commit is contained in:
Tobias Fella
2022-06-18 15:10:03 +02:00
parent f9fc8c5c0b
commit efae510fda

View File

@@ -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;
}