HomeServerHistoryService

interface HomeServerHistoryService

A simple service to remember homeservers you already connected to.

Functions

Link copied to clipboard
abstract fun addHomeServerToHistory(url: String)

Add a homeserver url to the list of stored homeserver urls. Will not be added again if already present in the list.

Link copied to clipboard
abstract fun clearHistory()

Delete the list of stored homeserver urls.

Link copied to clipboard
abstract fun getKnownServersUrls(): List<String>

Get a list of stored homeserver urls.