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
abstract suspend fun storeConfig(links: ServerConfig.Links, metadata: ServerConfig.MetaData): Either<StorageFailure, ServerConfig>
abstract suspend fun storeConfig(links: ServerConfig.Links, versionInfo: ServerConfig.VersionInfo): Either<StorageFailure, ServerConfig>
Link copied to clipboard
updates lastBlackListCheckDate for the Set of configIds