Fix formatting issues

This commit is contained in:
Benoit Marty
2026-08-14 12:20:49 +02:00
parent b74b146917
commit 1ab401482a
7 changed files with 7 additions and 8 deletions
@@ -31,6 +31,7 @@ interface TimelineEventFormatter {
senderDisambiguatedDisplayName = event.senderProfile.getDisambiguatedDisplayName(event.sender),
)
}
/**
* @param content the event content to describe.
* @param isOutgoing whether the event was sent by the current user, which selects the first-person wording.
@@ -135,6 +135,7 @@ interface MatrixClient : UrlContentFetcher {
/** Scans media content before it is displayed, or `null` when no content scanner is configured for this session. */
val contentScanner: ContentScanner?
/**
* Returns the room with the given id if the user has joined it, along with its live [Timeline].
* A new instance is created on each call and the caller owns it, so it must be closed once no longer needed.
@@ -49,6 +49,5 @@ interface PermissionsStore {
suspend fun resetPermission(permission: String)
/** Forgets every recorded permission; exposed for debugging from the developer options. */
// To debug
suspend fun resetStore()
}
@@ -32,8 +32,7 @@ interface SessionStore {
/**
* Add a new session. If other sessions exist, the new one will be set as the latest used one, and
* the added session position will be set to a value higher than the other session positions.
*/
/**
*
* @param sessionData the session to store, including its tokens.
*/
suspend fun addSession(sessionData: SessionData)
@@ -17,11 +17,11 @@ import io.element.android.libraries.matrix.api.user.MatrixUser
interface UserListDataSource {
/**
* Searches the user directory, returning an empty list rather than failing when the request does not succeed.
* TODO should probably have a flow
*
* @param query the text to look for in user ids and display names.
* @param count the maximum number of results to return.
*/
// TODO should probably have a flow
suspend fun search(query: String, count: Long): List<MatrixUser>
/**