MatrixToConverter

object MatrixToConverter

Mapping of an input URI to a matrix.to compliant URI.

Functions

Link copied to clipboard
fun convert(uri: Uri): Uri?

Try to convert a URL from an element web instance or from a client permalink to a matrix.to url. To be successfully converted, URL path should contain one of the SUPPORTED_PATHS. Examples: