From 9e8217082c445b2a92ffbb60e149dc5263ec4a85 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Mon, 6 Jan 2020 03:45:22 +0100 Subject: [PATCH] set homeserver field when populating room directory list fixes #807 Signed-off-by: Marcus Hoffmann --- CHANGES.md | 1 + .../features/roomdirectory/picker/RoomDirectoryListCreator.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 4e39b72de7..fc916060f1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ Bugfix 🐛: - Fix crash when opening room creation screen from the room filtering screen - Fix avatar image disappearing (#777) - Fix read marker banner when permalink + - Fix matrix.org room directory not being browsable Translations 🗣: - diff --git a/vector/src/main/java/im/vector/riotx/features/roomdirectory/picker/RoomDirectoryListCreator.kt b/vector/src/main/java/im/vector/riotx/features/roomdirectory/picker/RoomDirectoryListCreator.kt index 17693d9ad6..4073929a4f 100644 --- a/vector/src/main/java/im/vector/riotx/features/roomdirectory/picker/RoomDirectoryListCreator.kt +++ b/vector/src/main/java/im/vector/riotx/features/roomdirectory/picker/RoomDirectoryListCreator.kt @@ -48,6 +48,7 @@ class RoomDirectoryListCreator @Inject constructor(private val stringArrayProvid if (it != userHsName) { // Use the server name as a default display name result.add(RoomDirectoryData( + homeServer = it, displayName = it, includeAllNetworks = true ))