set homeserver field when populating room directory list

fixes #807

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
This commit is contained in:
Marcus Hoffmann 2020-01-06 03:45:22 +01:00
parent 455448806d
commit 9e8217082c
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ Bugfix 🐛:
- Fix crash when opening room creation screen from the room filtering screen - Fix crash when opening room creation screen from the room filtering screen
- Fix avatar image disappearing (#777) - Fix avatar image disappearing (#777)
- Fix read marker banner when permalink - Fix read marker banner when permalink
- Fix matrix.org room directory not being browsable
Translations 🗣: Translations 🗣:
- -

View file

@ -48,6 +48,7 @@ class RoomDirectoryListCreator @Inject constructor(private val stringArrayProvid
if (it != userHsName) { if (it != userHsName) {
// Use the server name as a default display name // Use the server name as a default display name
result.add(RoomDirectoryData( result.add(RoomDirectoryData(
homeServer = it,
displayName = it, displayName = it,
includeAllNetworks = true includeAllNetworks = true
)) ))