diff --git a/vector/src/main/java/im/vector/riotredesign/features/roomdirectory/picker/RoomDirectoryPickerController.kt b/vector/src/main/java/im/vector/riotredesign/features/roomdirectory/picker/RoomDirectoryPickerController.kt index 52d22c3b..e19c7a0b 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/roomdirectory/picker/RoomDirectoryPickerController.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/roomdirectory/picker/RoomDirectoryPickerController.kt @@ -41,7 +41,7 @@ class RoomDirectoryPickerController(private val stringProvider: StringProvider, when (asyncThirdPartyProtocol) { is Success -> { - val directories = roomDirectoryListCreator.computeDirectories(asyncThirdPartyProtocol.invoke()) + val directories = roomDirectoryListCreator.computeDirectories(asyncThirdPartyProtocol()) directories.forEach { buildDirectory(it)