CustomServerConfigRepository

internal interface CustomServerConfigRepository

Repository for the fetching and storing wire server configurations If you are looking for doing operations related to API version or blacklisted then use ServerConfigRepository

Inheritors

Functions

Link copied to clipboard
abstract suspend fun fetchRemoteConfig(serverConfigUrl: String): Either<NetworkFailure, ServerConfig.Links>

download an on premise server configuration from a json file

Link copied to clipboard
abstract suspend fun getServerConfigsWithUserIdAfterTheDate(date: String): Either<StorageFailure, <Error class: unknown class><List<ServerConfigWithUserId>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun updateAppBlackListCheckDate(configIds: Set<String>, date: String)

updates lastBlackListCheckDate for the Set of configIds