Code quality and remove reference to DefaultMatrixToConverter.SUPPORTED_PATHS in MatrixToConverter

This commit is contained in:
Benoit Marty 2024-04-02 15:51:59 +02:00
parent ef7553a6f6
commit 8e7fdc859c
4 changed files with 10 additions and 9 deletions

View file

@ -24,7 +24,6 @@ import android.net.Uri
interface MatrixToConverter {
/**
* 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 [DefaultMatrixToConverter.SUPPORTED_PATHS].
* Examples:
* - https://riot.im/develop/#/room/#element-android:matrix.org -> https://matrix.to/#/#element-android:matrix.org
* - https://app.element.io/#/room/#element-android:matrix.org -> https://matrix.to/#/#element-android:matrix.org