Introduce SessionWellknownRetriever and implementation that uses a MatrixClient.

This commit is contained in:
Benoit Marty 2025-08-08 13:35:44 +02:00
parent dbe5bb767b
commit 76849c4374
5 changed files with 89 additions and 14 deletions

View file

@ -0,0 +1,13 @@
/*
* Copyright 2025 New Vector Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.libraries.wellknown.api
interface SessionWellknownRetriever {
suspend fun getWellKnown(): WellKnown?
suspend fun getElementWellKnown(): ElementWellKnown?
}